mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-04-13 20:28:21 +10:00
nvidia_kepler.py: Fix build comparison
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
# OpenCore Legacy Patcher changelog
|
||||
|
||||
## 2.1.0
|
||||
- Fix Nvidia Kepler patches not installing on Monterey
|
||||
## 2.0.1
|
||||
- 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)
|
||||
|
||||
@@ -13,7 +13,7 @@ from .detections import device_probe
|
||||
class Constants:
|
||||
def __init__(self) -> None:
|
||||
# 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.copyright_date: str = "Copyright © 2020-2024 Dortania"
|
||||
self.patcher_name: str = "OpenCore Legacy Patcher"
|
||||
|
||||
@@ -49,10 +49,9 @@ class NvidiaKepler(BaseHardware):
|
||||
return True
|
||||
|
||||
if self._xnu_major == os_data.monterey:
|
||||
if self._xnu_minor < 0: # 12.0 Beta 8
|
||||
return True
|
||||
if self._os_build != "21A5522h": # 12.0 Beta 7
|
||||
return True
|
||||
if self._xnu_minor <= 0: # 12.0 Beta 8 increased XNU minor
|
||||
if self._os_build != "21A5522h": # 12.0 Beta 7
|
||||
return True
|
||||
|
||||
return False
|
||||
|
||||
|
||||
Reference in New Issue
Block a user