mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-06-20 22:20:53 +10:00
Adjust EFIDisabler
This commit is contained in:
+1
-1
@@ -1136,7 +1136,7 @@ class BuildOpenCore:
|
|||||||
if self.get_kext_by_bundle_path("RestrictEvents.kext")["Enabled"] is False:
|
if self.get_kext_by_bundle_path("RestrictEvents.kext")["Enabled"] is False:
|
||||||
# Ensure this is done at the end so all previous RestrictEvents patches are applied
|
# Ensure this is done at the end so all previous RestrictEvents patches are applied
|
||||||
# RestrictEvents and EFICheckDisabler will conflict if both are injected
|
# RestrictEvents and EFICheckDisabler will conflict if both are injected
|
||||||
self.enable_kext("EFICheckDisabler.kext", self.constants.restrictevents_version, self.constants.efi_disabler_path)
|
self.enable_kext("EFICheckDisabler.kext", "", self.constants.efi_disabler_path)
|
||||||
if self.constants.set_vmm_cpuid is True:
|
if self.constants.set_vmm_cpuid is True:
|
||||||
# Should be unneeded with our sysctl VMM patch, however for reference purposes we'll leave it here
|
# Should be unneeded with our sysctl VMM patch, however for reference purposes we'll leave it here
|
||||||
# Ref: https://forums.macrumors.com/threads/opencore-on-the-mac-pro.2207814/
|
# Ref: https://forums.macrumors.com/threads/opencore-on-the-mac-pro.2207814/
|
||||||
|
|||||||
@@ -291,7 +291,7 @@ class Constants:
|
|||||||
|
|
||||||
@property
|
@property
|
||||||
def efi_disabler_path(self):
|
def efi_disabler_path(self):
|
||||||
return self.payload_kexts_path / Path(f"Acidanthera/EFICheckDisabler-v{self.restrictevents_version}.zip")
|
return self.payload_kexts_path / Path(f"Acidanthera/EFICheckDisabler.zip")
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def bcm570_path(self):
|
def bcm570_path(self):
|
||||||
|
|||||||
Reference in New Issue
Block a user