mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-06-21 06:30:52 +10:00
Add support for RELEASE kexts
This commit is contained in:
@@ -4,6 +4,7 @@
|
|||||||
- Increment Binaries:
|
- Increment Binaries:
|
||||||
- OpenCorePkg 0.7.4 release
|
- OpenCorePkg 0.7.4 release
|
||||||
- RestrictEvents 1.0.5 release
|
- RestrictEvents 1.0.5 release
|
||||||
|
- WhateverGreen 1.5.4 release
|
||||||
- Allow for setting custom SIP values via TUI
|
- Allow for setting custom SIP values via TUI
|
||||||
- Drop `CSR_ALLOW_EXECUTABLE_POLICY_OVERRIDE` requirement for root patching
|
- Drop `CSR_ALLOW_EXECUTABLE_POLICY_OVERRIDE` requirement for root patching
|
||||||
- Lowers default SIP Disabled value to 0xA03
|
- Lowers default SIP Disabled value to 0xA03
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -46,8 +46,10 @@ class MenuOptions:
|
|||||||
change_menu = input("Enable Kext DEBUG mode(y/n/q): ")
|
change_menu = input("Enable Kext DEBUG mode(y/n/q): ")
|
||||||
if change_menu in {"y", "Y", "yes", "Yes"}:
|
if change_menu in {"y", "Y", "yes", "Yes"}:
|
||||||
self.constants.kext_debug = True
|
self.constants.kext_debug = True
|
||||||
|
self.constants.kext_variant = "DEBUG"
|
||||||
elif change_menu in {"n", "N", "no", "No"}:
|
elif change_menu in {"n", "N", "no", "No"}:
|
||||||
self.constants.kext_debug = False
|
self.constants.kext_debug = False
|
||||||
|
self.constants.kext_variant = "RELEASE"
|
||||||
elif change_menu in {"q", "Q", "Quit", "quit"}:
|
elif change_menu in {"q", "Q", "Quit", "quit"}:
|
||||||
print("Returning to previous menu")
|
print("Returning to previous menu")
|
||||||
else:
|
else:
|
||||||
|
|||||||
+12
-11
@@ -27,7 +27,7 @@ class Constants:
|
|||||||
## Acidanthera
|
## Acidanthera
|
||||||
## https://github.com/acidanthera
|
## https://github.com/acidanthera
|
||||||
self.lilu_version = "1.5.6" # Lilu
|
self.lilu_version = "1.5.6" # Lilu
|
||||||
self.whatevergreen_version = "1.5.3" # WhateverGreen
|
self.whatevergreen_version = "1.5.4" # WhateverGreen
|
||||||
self.airportbcrmfixup_version = "2.1.3" # AirPortBrcmFixup
|
self.airportbcrmfixup_version = "2.1.3" # AirPortBrcmFixup
|
||||||
self.nvmefix_version = "1.0.9" # NVMeFix
|
self.nvmefix_version = "1.0.9" # NVMeFix
|
||||||
self.applealc_version = "1.6.3" # AppleALC
|
self.applealc_version = "1.6.3" # AppleALC
|
||||||
@@ -104,6 +104,7 @@ class Constants:
|
|||||||
|
|
||||||
## Kext Settings
|
## Kext Settings
|
||||||
self.kext_debug = False # Enables Lilu debug and DebugEnhancer
|
self.kext_debug = False # Enables Lilu debug and DebugEnhancer
|
||||||
|
self.kext_variant = "RELEASE"
|
||||||
|
|
||||||
## NVRAM Settings
|
## NVRAM Settings
|
||||||
self.verbose_debug = False # -v
|
self.verbose_debug = False # -v
|
||||||
@@ -232,19 +233,19 @@ class Constants:
|
|||||||
|
|
||||||
@property
|
@property
|
||||||
def lilu_path(self):
|
def lilu_path(self):
|
||||||
return self.payload_kexts_path / Path(f"Acidanthera/Lilu-v{self.lilu_version}.zip")
|
return self.payload_kexts_path / Path(f"Acidanthera/Lilu-v{self.lilu_version}-{self.kext_variant}.zip")
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def whatevergreen_path(self):
|
def whatevergreen_path(self):
|
||||||
return self.payload_kexts_path / Path(f"Acidanthera/WhateverGreen-v{self.whatevergreen_version}.zip")
|
return self.payload_kexts_path / Path(f"Acidanthera/WhateverGreen-v{self.whatevergreen_version}-{self.kext_variant}.zip")
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def airportbcrmfixup_path(self):
|
def airportbcrmfixup_path(self):
|
||||||
return self.payload_kexts_path / Path(f"Acidanthera/AirportBrcmFixup-v{self.airportbcrmfixup_version}.zip")
|
return self.payload_kexts_path / Path(f"Acidanthera/AirportBrcmFixup-v{self.airportbcrmfixup_version}-{self.kext_variant}.zip")
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def restrictevents_path(self):
|
def restrictevents_path(self):
|
||||||
return self.payload_kexts_path / Path(f"Acidanthera/RestrictEvents-v{self.restrictevents_version}.zip")
|
return self.payload_kexts_path / Path(f"Acidanthera/RestrictEvents-v{self.restrictevents_version}-{self.kext_variant}.zip")
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def efi_disabler_path(self):
|
def efi_disabler_path(self):
|
||||||
@@ -252,7 +253,7 @@ class Constants:
|
|||||||
|
|
||||||
@property
|
@property
|
||||||
def restrictevents_mbp_path(self):
|
def restrictevents_mbp_path(self):
|
||||||
return self.payload_kexts_path / Path(f"Acidanthera/RestrictEvents-MBP91-v{self.restrictevents_mbp_version}.zip")
|
return self.payload_kexts_path / Path(f"Acidanthera/RestrictEvents-MBP91-v{self.restrictevents_mbp_version}-{self.kext_variant}.zip")
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def bcm570_path(self):
|
def bcm570_path(self):
|
||||||
@@ -296,7 +297,7 @@ class Constants:
|
|||||||
|
|
||||||
@property
|
@property
|
||||||
def applealc_path(self):
|
def applealc_path(self):
|
||||||
return self.payload_kexts_path / Path(f"Acidanthera/AppleALC-v{self.applealc_version}.zip")
|
return self.payload_kexts_path / Path(f"Acidanthera/AppleALC-v{self.applealc_version}-{self.kext_variant}.zip")
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def piixata_path(self):
|
def piixata_path(self):
|
||||||
@@ -320,15 +321,15 @@ class Constants:
|
|||||||
|
|
||||||
@property
|
@property
|
||||||
def nvmefix_path(self):
|
def nvmefix_path(self):
|
||||||
return self.payload_kexts_path / Path(f"Acidanthera/NVMeFix-v{self.nvmefix_version}.zip")
|
return self.payload_kexts_path / Path(f"Acidanthera/NVMeFix-v{self.nvmefix_version}-{self.kext_variant}.zip")
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def featureunlock_path(self):
|
def featureunlock_path(self):
|
||||||
return self.payload_kexts_path / Path(f"Acidanthera/FeatureUnlock-v{self.featureunlock_version}.zip")
|
return self.payload_kexts_path / Path(f"Acidanthera/FeatureUnlock-v{self.featureunlock_version}-{self.kext_variant}.zip")
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def debugenhancer_path(self):
|
def debugenhancer_path(self):
|
||||||
return self.payload_kexts_path / Path(f"Acidanthera/DebugEnhancer-v{self.debugenhancer_version}.zip")
|
return self.payload_kexts_path / Path(f"Acidanthera/DebugEnhancer-v{self.debugenhancer_version}-{self.kext_variant}.zip")
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def bluetool_path(self):
|
def bluetool_path(self):
|
||||||
@@ -336,7 +337,7 @@ class Constants:
|
|||||||
|
|
||||||
@property
|
@property
|
||||||
def cslvfixup_path(self):
|
def cslvfixup_path(self):
|
||||||
return self.payload_kexts_path / Path(f"Acidanthera/CSLVFixup-v{self.cslvfixup_version}.zip")
|
return self.payload_kexts_path / Path(f"Acidanthera/CSLVFixup-v{self.cslvfixup_version}.-{self.kext_variant}zip")
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def innie_path(self):
|
def innie_path(self):
|
||||||
|
|||||||
@@ -59,6 +59,8 @@ def validate(settings):
|
|||||||
settings.opencore_debug = True
|
settings.opencore_debug = True
|
||||||
settings.opencore_build = "DEBUG"
|
settings.opencore_build = "DEBUG"
|
||||||
settings.kext_debug = True
|
settings.kext_debug = True
|
||||||
|
settings.kext_variant = "DEBUG"
|
||||||
|
settings.kext_debug = True
|
||||||
settings.showpicker = False
|
settings.showpicker = False
|
||||||
settings.sip_status = False
|
settings.sip_status = False
|
||||||
settings.secure_status = True
|
settings.secure_status = True
|
||||||
|
|||||||
Reference in New Issue
Block a user