mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-06-21 06:30:52 +10:00
sys_patch_dict: Don’t instal Kepler’s patch in 13.0
This commit is contained in:
@@ -333,7 +333,7 @@ def SystemPatchDictionary(os_major, os_minor, non_metal_os_support):
|
|||||||
},
|
},
|
||||||
"/System/Library/Frameworks": {
|
"/System/Library/Frameworks": {
|
||||||
# XNU 21.6 (macOS 12.5)
|
# XNU 21.6 (macOS 12.5)
|
||||||
**({ "Metal.framework": "12.5 Beta 2"} if os_data.os_conversion.is_os_newer(os_data.os_data.monterey, 5, os_major, os_minor) else {})
|
**({ "Metal.framework": "12.5 Beta 2"} if (os_data.os_conversion.is_os_newer(os_data.os_data.monterey, 5, os_major, os_minor) and os_major < os_data.os_data.ventura) else {})
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -35,7 +35,9 @@ class check_binary_updates:
|
|||||||
self.remote_version_array.append(0)
|
self.remote_version_array.append(0)
|
||||||
|
|
||||||
for i in range(0, len(self.remote_version_array)):
|
for i in range(0, len(self.remote_version_array)):
|
||||||
if self.remote_version_array[i] > self.binary_version_array[i]:
|
if int(self.remote_version_array[i]) < int(self.binary_version_array[i]):
|
||||||
|
break
|
||||||
|
elif int(self.remote_version_array[i]) > int(self.binary_version_array[i]):
|
||||||
return True
|
return True
|
||||||
|
|
||||||
return False
|
return False
|
||||||
|
|||||||
Reference in New Issue
Block a user