sys_patch_dict.py: Fix OS versioning for CoreImage

Thanks @OnesuchDev for catching this
This commit is contained in:
Mykola Grymalyuk
2023-10-02 20:26:22 -06:00
parent e56beb5f4e
commit 8a6a9ec054
2 changed files with 2 additions and 1 deletions

View File

@@ -2,6 +2,7 @@
## 1.1.0
- Add error handling for corrupted patcher settings
- Remove CoreImage patch for 3802 GPUs on Ventura
## 1.0.0
- Resolve BCM2046 and BCM2070 support on macOS 13.3 and newer

View File

@@ -377,7 +377,7 @@ class SystemPatchDictionary():
"Install": {
"/System/Library/Frameworks": {
"Metal.framework": f"13.2.1-{self.os_major}",
**({ "CoreImage.framework": "14.0 Beta 3" } if self.os_major >= os_data.os_data.ventura else {}),
**({ "CoreImage.framework": "14.0 Beta 3" } if self.os_major >= os_data.os_data.sonoma else {}),
},
"/System/Library/PrivateFrameworks": {
**({ "MTLCompiler.framework": "13.2.1" } if self.os_major == os_data.os_data.ventura else {}),