Remove garbage

This commit is contained in:
Mykola Grymalyuk
2021-10-17 00:14:32 -06:00
parent db617db1fd
commit a153b500b9

View File

@@ -694,8 +694,6 @@ class BuildOpenCore:
self.get_efi_binary_by_path("OpenShell.efi", "Misc", "Tools")["Enabled"] = False
if 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)
elif self.constants.sip_status is False:
print("- Disabling SIP")