build: Implement KDKlessWorkaround

This commit is contained in:
Mykola Grymalyuk
2022-12-16 18:18:15 -07:00
parent 6169d593c5
commit f71fcf6f58
6 changed files with 49 additions and 1 deletions
+8
View File
@@ -98,6 +98,10 @@ class Constants:
## https://github.com/blackgate/AMDGPUWakeHandler
self.gpu_wake_version = "1.0.0"
## flagersgit
## https://github.com/flagersgit/KDKlessWorkaround
self.kdkless_version = "1.0.0"
# Get resource path
self.current_path = Path(__file__).parent.parent.resolve()
self.payload_path = self.current_path / Path("payloads")
@@ -462,6 +466,10 @@ class Constants:
def apple_raid_path(self):
return self.payload_kexts_path / Path(f"Misc/AppleRAIDCard-v{self.apple_raid_version}.zip")
@property
def kdkless_path(self):
return self.payload_kexts_path / Path(f"Misc/KDKlessWorkaround-v{self.kdkless_version}-{self.kext_variant}.zip")
@property
def plist_folder_path(self):
return self.payload_kexts_path / Path("Plists")