mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-06-20 14:10:51 +10:00
nvidia_kepler.py: Fix build comparison
This commit is contained in:
@@ -1,5 +1,7 @@
|
|||||||
# OpenCore Legacy Patcher changelog
|
# OpenCore Legacy Patcher changelog
|
||||||
|
|
||||||
|
## 2.1.0
|
||||||
|
- Fix Nvidia Kepler patches not installing on Monterey
|
||||||
## 2.0.1
|
## 2.0.1
|
||||||
- Fix MacBookPro13,3 listing 'Available patches' after having installed all applicable patches
|
- Fix MacBookPro13,3 listing 'Available patches' after having installed all applicable patches
|
||||||
- Fix Nvidia Tesla and Kepler patches not installing on Monterey (and older if applicable)
|
- Fix Nvidia Tesla and Kepler patches not installing on Monterey (and older if applicable)
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ from .detections import device_probe
|
|||||||
class Constants:
|
class Constants:
|
||||||
def __init__(self) -> None:
|
def __init__(self) -> None:
|
||||||
# Patcher Versioning
|
# Patcher Versioning
|
||||||
self.patcher_version: str = "2.0.1" # OpenCore-Legacy-Patcher
|
self.patcher_version: str = "2.1.0" # OpenCore-Legacy-Patcher
|
||||||
self.patcher_support_pkg_version: str = "1.8.0" # PatcherSupportPkg
|
self.patcher_support_pkg_version: str = "1.8.0" # PatcherSupportPkg
|
||||||
self.copyright_date: str = "Copyright © 2020-2024 Dortania"
|
self.copyright_date: str = "Copyright © 2020-2024 Dortania"
|
||||||
self.patcher_name: str = "OpenCore Legacy Patcher"
|
self.patcher_name: str = "OpenCore Legacy Patcher"
|
||||||
|
|||||||
@@ -49,10 +49,9 @@ class NvidiaKepler(BaseHardware):
|
|||||||
return True
|
return True
|
||||||
|
|
||||||
if self._xnu_major == os_data.monterey:
|
if self._xnu_major == os_data.monterey:
|
||||||
if self._xnu_minor < 0: # 12.0 Beta 8
|
if self._xnu_minor <= 0: # 12.0 Beta 8 increased XNU minor
|
||||||
return True
|
if self._os_build != "21A5522h": # 12.0 Beta 7
|
||||||
if self._os_build != "21A5522h": # 12.0 Beta 7
|
return True
|
||||||
return True
|
|
||||||
|
|
||||||
return False
|
return False
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user