mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-04-14 20:58:21 +10:00
Merge branch 'main' into ventura-alpha
This commit is contained in:
@@ -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/"
|
||||
|
||||
@@ -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")
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user