Skip to content

Commit

Permalink
nvidia_kepler.py: Fix build comparison
Browse files Browse the repository at this point in the history
  • Loading branch information
khronokernel committed Sep 16, 2024
1 parent 56c9fd5 commit ce08129
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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)
Expand Down
2 changes: 1 addition & 1 deletion opencore_legacy_patcher/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
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"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,9 @@ def native_os(self) -> bool:
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

Expand Down

0 comments on commit ce08129

Please sign in to comment.