mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-04-23 19:40:15 +10:00
Sync PatcherSupportPkg
This commit is contained in:
@@ -14,7 +14,7 @@ class Constants:
|
|||||||
def __init__(self) -> None:
|
def __init__(self) -> None:
|
||||||
# Patcher Versioning
|
# Patcher Versioning
|
||||||
self.patcher_version: str = "1.6.0" # OpenCore-Legacy-Patcher
|
self.patcher_version: str = "1.6.0" # OpenCore-Legacy-Patcher
|
||||||
self.patcher_support_pkg_version: str = "1.7.7" # PatcherSupportPkg
|
self.patcher_support_pkg_version: str = "1.7.8" # PatcherSupportPkg
|
||||||
self.copyright_date: str = "Copyright © 2020-2024 Dortania"
|
self.copyright_date: str = "Copyright © 2020-2024 Dortania"
|
||||||
self.patcher_name: str = "OpenCore Legacy Patcher"
|
self.patcher_name: str = "OpenCore Legacy Patcher"
|
||||||
|
|
||||||
|
|||||||
@@ -141,6 +141,15 @@ class PatcherValidation:
|
|||||||
continue
|
continue
|
||||||
except TypeError:
|
except TypeError:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
# Technically there is nothing wrong with using a .framework with OVERWRITE, but it's a good indicator of a mistake
|
||||||
|
if install_type in [PatchType.OVERWRITE_SYSTEM_VOLUME, PatchType.OVERWRITE_DATA_VOLUME]:
|
||||||
|
if install_file.endswith(".framework"):
|
||||||
|
raise Exception(f"{install_file} used with {install_type}, are you certain this is correct?")
|
||||||
|
elif install_type in [PatchType.MERGE_SYSTEM_VOLUME, PatchType.MERGE_DATA_VOLUME]:
|
||||||
|
if not install_file.endswith(".framework"):
|
||||||
|
raise Exception(f"{install_file} used with {install_type}, are you certain this is correct?")
|
||||||
|
|
||||||
source_file = str(self.constants.payload_local_binaries_root_path) + "/" + patchset[patch_core][install_type][install_directory][install_file] + install_directory + "/" + install_file
|
source_file = str(self.constants.payload_local_binaries_root_path) + "/" + patchset[patch_core][install_type][install_directory][install_file] + install_directory + "/" + install_file
|
||||||
if not Path(source_file).exists():
|
if not Path(source_file).exists():
|
||||||
logging.info(f"File not found: {source_file}")
|
logging.info(f"File not found: {source_file}")
|
||||||
|
|||||||
@@ -125,6 +125,9 @@ class LegacyMetal3802(BaseSharedPatchSet):
|
|||||||
"/System/Library/PrivateFrameworks/Tungsten.framework/Versions/A/Resources": {
|
"/System/Library/PrivateFrameworks/Tungsten.framework/Versions/A/Resources": {
|
||||||
"default.metallib": "15.0 Beta 7",
|
"default.metallib": "15.0 Beta 7",
|
||||||
},
|
},
|
||||||
|
"/System/Library/PrivateFrameworks/RenderBox.framework/Versions/A/Resources": {
|
||||||
|
"default.metallib": "15.0 Beta 8",
|
||||||
|
},
|
||||||
"/System/iOSSupport/System/Library/PrivateFrameworks/VFX.framework/Versions/A/Resources": {
|
"/System/iOSSupport/System/Library/PrivateFrameworks/VFX.framework/Versions/A/Resources": {
|
||||||
"default.metallib": DynamicPatchset.MetallibSupportPkg,
|
"default.metallib": DynamicPatchset.MetallibSupportPkg,
|
||||||
},
|
},
|
||||||
@@ -242,9 +245,6 @@ class LegacyMetal3802(BaseSharedPatchSet):
|
|||||||
"/System/Library/PrivateFrameworks/SkyLight.framework/Versions/A/Resources": {
|
"/System/Library/PrivateFrameworks/SkyLight.framework/Versions/A/Resources": {
|
||||||
"SkyLightShaders.air64.metallib": DynamicPatchset.MetallibSupportPkg,
|
"SkyLightShaders.air64.metallib": DynamicPatchset.MetallibSupportPkg,
|
||||||
},
|
},
|
||||||
"/System/Library/PrivateFrameworks/RenderBox.framework/Versions/A/Resources": {
|
|
||||||
"default.metallib": DynamicPatchset.MetallibSupportPkg,
|
|
||||||
},
|
|
||||||
"/System/Library/PrivateFrameworks/AppleISPEmulator.framework/Versions/A/Resources": {
|
"/System/Library/PrivateFrameworks/AppleISPEmulator.framework/Versions/A/Resources": {
|
||||||
"default.metallib": DynamicPatchset.MetallibSupportPkg,
|
"default.metallib": DynamicPatchset.MetallibSupportPkg,
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user