Add SMC Spoof to avoid smcupdater

Closes https://github.com/dortania/OpenCore-Legacy-Patcher/issues/104
This commit is contained in:
Mykola Grymalyuk
2021-03-16 08:47:18 -06:00
parent 95558ab31e
commit 8405a8162f
5 changed files with 55 additions and 0 deletions
+3
View File
@@ -28,6 +28,7 @@ class Constants:
self.backlight_version = "1.0.0"
self.cpufriend_version = "1.2.3"
self.nightshift_version = "1.1.0"
self.smcspoof_version = "1.0.0"
# Get resource path
self.current_path = Path(__file__).parent.parent.resolve()
@@ -109,6 +110,8 @@ class Constants:
def cpufriend_path(self): return self.payload_kexts_path / Path(f"Acidanthera/CPUFriend-v{self.cpufriend_version}.zip")
@property
def nightshift_path(self): return self.payload_kexts_path / Path(f"Misc/NightShiftEnabler-v{self.nightshift_version}.zip")
@property
def smcspoof_path(self): return self.payload_kexts_path / Path(f"Misc/SMC-Spoof-v{self.smcspoof_version}.zip")
# Build Location
@property