From 2ce1f1c7f92283d093cb9eeb4fd9528d0b16461a Mon Sep 17 00:00:00 2001 From: Mykola Grymalyuk Date: Sun, 15 Sep 2024 17:51:22 -0600 Subject: [PATCH] nvidia_kepler.py: Fix XNU minor comparison --- CHANGELOG.md | 2 +- .../sys_patch/patchsets/hardware/graphics/nvidia_kepler.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b5e0724354..edf5a727bc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/opencore_legacy_patcher/sys_patch/patchsets/hardware/graphics/nvidia_kepler.py b/opencore_legacy_patcher/sys_patch/patchsets/hardware/graphics/nvidia_kepler.py index 58e099faed..2aef5944ab 100644 --- a/opencore_legacy_patcher/sys_patch/patchsets/hardware/graphics/nvidia_kepler.py +++ b/opencore_legacy_patcher/sys_patch/patchsets/hardware/graphics/nvidia_kepler.py @@ -49,7 +49,7 @@ def native_os(self) -> bool: 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