Merge branch 'main' into ventura-alpha

This commit is contained in:
Mykola Grymalyuk
2022-06-17 12:34:02 -06:00
10 changed files with 66 additions and 12 deletions

View File

@@ -12,7 +12,7 @@ from data import os_data
class Constants:
def __init__(self):
# Patcher Versioning
self.patcher_version = "0.4.7" # OpenCore-Legacy-Patcher
self.patcher_version = "0.4.8" # OpenCore-Legacy-Patcher
self.patcher_support_pkg_version = "0.5.1" # PatcherSupportPkg
self.url_patcher_support_pkg = "https://github.com/dortania/PatcherSupportPkg/releases/download/"
self.nightly_url_patcher_support_pkg = "https://nightly.link/dortania/PatcherSupportPkg/workflows/build/master/"

View File

@@ -56,4 +56,7 @@ class global_settings:
return
# delete defaults plist
Path(defaults_path).unlink()
try:
Path(defaults_path).unlink()
except PermissionError:
print("- Permission error: Unable to delete defaults plist")

View File

@@ -135,6 +135,9 @@ def list_downloadable_macOS_installers(download_path, catalog):
build_plist = plistlib.loads(requests.get(bm_package["URL"]).content)
except plistlib.InvalidFileException:
continue
# Ensure Apple Silicon specific Installers are not listed
if "VMM-x86_64" not in build_plist["MobileAssetProperties"]["SupportedDeviceModels"]:
continue
version = build_plist["MobileAssetProperties"]["OSVersion"]
build = build_plist["MobileAssetProperties"]["Build"]
try: