mirror of
https://github.com/kholia/OSX-KVM.git
synced 2025-12-20 15:02:21 +00:00
Build script for Ventura final (#205)
This commit is contained in:
committed by
GitHub
parent
b2b3614676
commit
199fb92a81
@@ -72,12 +72,13 @@ catalogs = {
|
||||
"PublicRelease": "https://swscan.apple.com/content/catalogs/others/index-10.16-10.15-10.14-10.13-10.12-10.11-10.10-10.9-mountainlion-lion-snowleopard-leopard.merged-1.sucatalog",
|
||||
"20": "https://swscan.apple.com/content/catalogs/others/index-11-10.15-10.14-10.13-10.12-10.11-10.10-10.9-mountainlion-lion-snowleopard-leopard.merged-1.sucatalog",
|
||||
'21': "https://swscan.apple.com/content/catalogs/others/index-12-10.16-10.15-10.14-10.13-10.12-10.11-10.10-10.9-mountainlion-lion-snowleopard-leopard.merged-1.sucatalog",
|
||||
'22': "https://swscan.apple.com/content/catalogs/others/index-13-12-10.16-10.15-10.14-10.13-10.12-10.11-10.10-10.9-mountainlion-lion-snowleopard-leopard.merged-1.sucatalog"
|
||||
}
|
||||
|
||||
|
||||
def get_default_catalog():
|
||||
'''Returns the default softwareupdate catalog for the current OS'''
|
||||
return catalogs["21"]
|
||||
return catalogs["22"]
|
||||
# return catalogs["PublicRelease"]
|
||||
# return catalogs["DeveloperSeed"]
|
||||
|
||||
@@ -102,9 +103,9 @@ def replicate_url(full_url,
|
||||
|
||||
# hack
|
||||
print("[+] Fetching %s" % full_url)
|
||||
if installer and "BaseSystem.dmg" not in full_url and "Big Sur" not in product_title and "Monterey" not in product_title:
|
||||
if installer and "BaseSystem.dmg" not in full_url and "Big Sur" not in product_title and "Monterey" not in product_title and "Ventura" not in product_title:
|
||||
return
|
||||
if ("Big Sur" in product_title or "Monterey" in product_title) and "InstallAssistant.pkg" not in full_url:
|
||||
if ("Big Sur" in product_title or "Monterey" in product_title or "Ventura" in product_title) and "InstallAssistant.pkg" not in full_url:
|
||||
return
|
||||
attempt_resume = True
|
||||
# path = urllib.parse.urlsplit(full_url)[2]
|
||||
|
||||
Reference in New Issue
Block a user