mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-04-24 03:50:14 +10:00
Remove garbage
This commit is contained in:
@@ -694,8 +694,6 @@ class BuildOpenCore:
|
|||||||
self.get_efi_binary_by_path("OpenShell.efi", "Misc", "Tools")["Enabled"] = False
|
self.get_efi_binary_by_path("OpenShell.efi", "Misc", "Tools")["Enabled"] = False
|
||||||
if self.constants.custom_sip_value:
|
if self.constants.custom_sip_value:
|
||||||
print(f"- Setting SIP value to: {self.constants.custom_sip_value}")
|
print(f"- Setting SIP value to: {self.constants.custom_sip_value}")
|
||||||
sip = self.constants.custom_sip_value.lstrip("0x")
|
|
||||||
# Ensure SIP is 8 characters long
|
|
||||||
self.config["NVRAM"]["Add"]["7C436110-AB2A-4BBB-A880-FE41995C9F82"]["csr-active-config"] = utilities.string_to_hex(self.constants.custom_sip_value)
|
self.config["NVRAM"]["Add"]["7C436110-AB2A-4BBB-A880-FE41995C9F82"]["csr-active-config"] = utilities.string_to_hex(self.constants.custom_sip_value)
|
||||||
elif self.constants.sip_status is False:
|
elif self.constants.sip_status is False:
|
||||||
print("- Disabling SIP")
|
print("- Disabling SIP")
|
||||||
|
|||||||
Reference in New Issue
Block a user