nvidia_kepler.py: Fix XNU minor comparison

This commit is contained in:
Mykola Grymalyuk
2024-09-15 17:51:22 -06:00
parent 366bb6b6c2
commit 2ce1f1c7f9
2 changed files with 2 additions and 2 deletions

View File

@@ -2,7 +2,7 @@
## 2.1.0
- Fix MacBookPro13,3 listing 'Available patches' after having installed all applicable patches
- Fix Nvidia Tesla patches not installing on Monterey and older
- Fix Nvidia Tesla and Kepler patches not installing on Monterey (and older if applicable)
## 2.0.0
- Set `AssociatedBundleIdentifiers` property in launch services as an array

View File

@@ -49,7 +49,7 @@ class NvidiaKepler(BaseHardware):
return True
if self._xnu_major == os_data.monterey:
if self._xnu_minor > 0:
if self._xnu_minor < 0: # 12.0 Beta 8
return True
if self._os_build != "21A5522h": # 12.0 Beta 7
return True