mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-06-18 13:20:00 +10:00
Add safe guards for macOS 14
This commit is contained in:
@@ -479,7 +479,6 @@ class RemoteInstallerCatalog:
|
||||
|
||||
os_builds.append(newest_apps[ia]["Build"])
|
||||
|
||||
# Final passthrough
|
||||
# Remove Betas if there's a non-beta version available
|
||||
for ia in list(newest_apps):
|
||||
if newest_apps[ia]["Variant"] in ["CustomerSeed", "DeveloperSeed", "PublicSeed"]:
|
||||
@@ -488,6 +487,11 @@ class RemoteInstallerCatalog:
|
||||
newest_apps.pop(ia)
|
||||
break
|
||||
|
||||
# Remove unsupported versions (namely 14)
|
||||
for ia in list(newest_apps):
|
||||
if newest_apps[ia]["Version"].split(".")[0] not in supported_versions:
|
||||
newest_apps.pop(ia)
|
||||
|
||||
return newest_apps
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user