Add FeatureUnlock configurability

This commit is contained in:
Mykola Grymalyuk
2021-12-21 18:12:11 -07:00
parent 7e29758fea
commit 118853cd46
5 changed files with 56 additions and 7 deletions
+12
View File
@@ -120,6 +120,10 @@ class Constants:
self.serial_settings = "None" # Set SMBIOS level used
self.override_smbios = "Default" # Set SMBIOS model used
## FeatureUnlock Settings
self.fu_status = True # Enable FeatureUnlock
self.fu_arguments = "" # Set FeatureUnlock arguments
## Latebloom Settings
self.latebloom_status = False # Latebloom Enabled
self.latebloom_delay = 0 # Delay between each PCIe Probe
@@ -224,6 +228,10 @@ class Constants:
@property
def list_txt_path(self):
return self.payload_path / Path("List.txt")
@property
def installer_sh_path(self):
return self.payload_path / Path("Installer.sh")
# Kexts
@property
@@ -479,6 +487,10 @@ class Constants:
@property
def ocvalidate_path(self):
return self.payload_path / Path(f"Tools/ocvalidate-{self.opencore_version}")
@property
def oclp_helper_path(self):
return self.payload_path / Path("Tools/OCLP-Helper")
# Icons
@property