mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-04-17 21:24:40 +10:00
Adjust SIP naming
This commit is contained in:
@@ -727,7 +727,7 @@ class BuildOpenCore:
|
||||
print(f"- Setting SIP value to: {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.lstrip("0x"))
|
||||
elif self.constants.sip_status is False:
|
||||
print("- Disabling SIP")
|
||||
print("- Set SIP to allow Root Volume patching")
|
||||
self.config["NVRAM"]["Add"]["7C436110-AB2A-4BBB-A880-FE41995C9F82"]["csr-active-config"] = binascii.unhexlify("030A0000")
|
||||
# if self.constants.amfi_status is False:
|
||||
# print("- Disabling AMFI")
|
||||
|
||||
@@ -166,13 +166,13 @@ Note: For security reasons, OpenShell will be disabled when Vault is set.
|
||||
utilities.header(["Set System Integrity protection"])
|
||||
print(
|
||||
f"""SIP is used to ensure proper secuirty measures are set,
|
||||
however to patch the root volume this must be disabled.
|
||||
however to patch the root volume this must be lowered partially.
|
||||
Only disable is absolutely necessary. SIP value = 0xA03
|
||||
|
||||
Valid options:
|
||||
|
||||
1. Enable SIP
|
||||
2. Disable SIP
|
||||
2. Lower SIP partially (allow root volume patching)
|
||||
3. Set Custom SIP value {self.constants.custom_sip_value}
|
||||
Q. Return to previous menu
|
||||
|
||||
|
||||
Reference in New Issue
Block a user