mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-04-13 20:28:21 +10:00
sys_patch_dict: Fix Safari 16 support for macOS Monterey
This commit is contained in:
@@ -9,6 +9,9 @@
|
||||
- Implement deeper macOS installer parsing
|
||||
- Provides better version detection than Apple provides in .app
|
||||
- Ensure WhateverGreen is always installed on Mac Pro configurations
|
||||
- Resolve Safari 16 rendering in macOS 12.6
|
||||
- Increment Binaries:
|
||||
- PatcherSupportPkg 0.5.3 - release
|
||||
|
||||
## 0.4.10
|
||||
- Resolve Nvidia Kepler support in macOS 12.5 Beta 3 and newer
|
||||
|
||||
@@ -49,6 +49,11 @@ def SystemPatchDictionary(os_major, os_minor, non_metal_os_support):
|
||||
"SkyLight.framework": f"10.14.6-{os_major}",
|
||||
},
|
||||
},
|
||||
"Install Non-Root": {
|
||||
"/Library/Apple/System/Library/StagedFrameworks/Safari": {
|
||||
**({ "WebKit.framework": "11.6" } if os_major >= os_data.os_data.monterey else {}),
|
||||
},
|
||||
},
|
||||
"Remove": {
|
||||
"/System/Library/Extensions": [
|
||||
"AMDRadeonX4000.kext",
|
||||
@@ -185,6 +190,11 @@ def SystemPatchDictionary(os_major, os_minor, non_metal_os_support):
|
||||
"WebKit.framework": "11.6",
|
||||
},
|
||||
},
|
||||
"Install Non-Root": {
|
||||
"/Library/Apple/System/Library/StagedFrameworks/Safari": {
|
||||
"WebKit.framework": "11.6"
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
# Resolve AppleGVACore crashing on MacBookPro11,3 due to mixed GPU combo
|
||||
|
||||
@@ -13,7 +13,7 @@ class Constants:
|
||||
def __init__(self):
|
||||
# Patcher Versioning
|
||||
self.patcher_version = "0.4.11" # OpenCore-Legacy-Patcher
|
||||
self.patcher_support_pkg_version = "0.5.2" # PatcherSupportPkg
|
||||
self.patcher_support_pkg_version = "0.5.3" # 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/"
|
||||
self.discord_link = "https://discord.gg/rqdPgH8xSN"
|
||||
|
||||
@@ -296,6 +296,10 @@ class PatchSysVolume:
|
||||
# .kexts and .apps are deleted and replaced
|
||||
file_name_str = str(file_name)
|
||||
|
||||
if not Path(destination_folder).exists():
|
||||
print(f" - Skipping {file_name}, cannot locate {source_folder}")
|
||||
return
|
||||
|
||||
if file_name_str.endswith(".framework"):
|
||||
# merge with rsync
|
||||
print(f" - Installing: {file_name}")
|
||||
|
||||
Reference in New Issue
Block a user