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

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