diff --git a/resources/build.py b/resources/build.py index a8c3fbc75..519f3b915 100644 --- a/resources/build.py +++ b/resources/build.py @@ -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")