mirror of
https://github.com/corpnewt/gibMacOS.git
synced 2025-01-07 18:47:44 +01:00
Add build number to output folder
This commit is contained in:
parent
46a95c2b3e
commit
602a1e5d78
@ -254,7 +254,7 @@ class gibMacOS:
|
|||||||
def download_prod(self, prod, dmg = False):
|
def download_prod(self, prod, dmg = False):
|
||||||
# Takes a dictonary of details and downloads it
|
# Takes a dictonary of details and downloads it
|
||||||
self.resize()
|
self.resize()
|
||||||
name = "{} - {} {}".format(prod["product"], prod["version"], prod["title"]).replace(":","").strip()
|
name = "{} - {} {} ({})".format(prod["product"], prod["version"], prod["title"], prod["build"]).replace(":","").strip()
|
||||||
dl_list = []
|
dl_list = []
|
||||||
for x in prod["packages"]:
|
for x in prod["packages"]:
|
||||||
if not x.get("URL",None):
|
if not x.get("URL",None):
|
||||||
|
Loading…
Reference in New Issue
Block a user