sys_patch_dict: Fix Safari 16 support for macOS Monterey

This commit is contained in:
Mykola Grymalyuk
2022-09-15 21:18:00 -06:00
parent 5565a3e67e
commit 101f1197bc
4 changed files with 18 additions and 1 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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"

View File

@@ -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}")