Adjust SIP naming

This commit is contained in:
Mykola Grymalyuk
2021-10-30 07:51:26 -06:00
parent 377b0dd797
commit 7463d56ffc
4 changed files with 4 additions and 10 deletions

View File

@@ -4,6 +4,7 @@
- Implement spoofless support (ie. no SMBIOS patching) - Implement spoofless support (ie. no SMBIOS patching)
- Requires macOS 11.3 or newer, for 11.2.3 and older use Minimal or higher spoofing - Requires macOS 11.3 or newer, for 11.2.3 and older use Minimal or higher spoofing
- See additional notes before updating: [VMM usage notes](https://github.com/dortania/OpenCore-Legacy-Patcher/issues/543#issuecomment-953441283) - See additional notes before updating: [VMM usage notes](https://github.com/dortania/OpenCore-Legacy-Patcher/issues/543#issuecomment-953441283)
- Adjust SIP setting to better reflect current SIP usage
## 0.3.1 ## 0.3.1
- Increment Binaries: - Increment Binaries:

View File

@@ -29,13 +29,6 @@ To get aid with the patcher, we recommend joining the [OpenCore Patcher Paradise
* [OpenCore Legacy Patcher's Issue's tab](https://github.com/dortania/OpenCore-Legacy-Patcher/issues) * [OpenCore Legacy Patcher's Issue's tab](https://github.com/dortania/OpenCore-Legacy-Patcher/issues)
Nightly builds can be found here courteous of nightly.link:
* [Nightly OpenCore Patcher (GUI)](https://nightly.link/dortania/OpenCore-Legacy-Patcher/workflows/build-gui/main/OpenCore-Patcher-GUI.app.zip)
* [Nightly OpenCore Patcher (TUI)](https://nightly.link/dortania/OpenCore-Legacy-Patcher/workflows/build-app/main/OpenCore-Patcher-TUI.app.zip)
* [Offline Variant](https://nightly.link/dortania/OpenCore-Legacy-Patcher/workflows/build-app-offline/main/OpenCore-Patcher-TUI-Offline.app.zip) (No network connection needed on target Mac for Root Patching)
* [Nightly OpenCore Patcher (CLI)](https://nightly.link/dortania/OpenCore-Legacy-Patcher/workflows/build-gui/main/OCLP-CLI.zip)
## Credits ## Credits
* [Acidanthera](https://github.com/Acidanthera) * [Acidanthera](https://github.com/Acidanthera)

View File

@@ -727,7 +727,7 @@ class BuildOpenCore:
print(f"- Setting SIP value to: {self.constants.custom_sip_value}") 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")) 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: 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") self.config["NVRAM"]["Add"]["7C436110-AB2A-4BBB-A880-FE41995C9F82"]["csr-active-config"] = binascii.unhexlify("030A0000")
# if self.constants.amfi_status is False: # if self.constants.amfi_status is False:
# print("- Disabling AMFI") # print("- Disabling AMFI")

View File

@@ -166,13 +166,13 @@ Note: For security reasons, OpenShell will be disabled when Vault is set.
utilities.header(["Set System Integrity protection"]) utilities.header(["Set System Integrity protection"])
print( print(
f"""SIP is used to ensure proper secuirty measures are set, 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 Only disable is absolutely necessary. SIP value = 0xA03
Valid options: Valid options:
1. Enable SIP 1. Enable SIP
2. Disable SIP 2. Lower SIP partially (allow root volume patching)
3. Set Custom SIP value {self.constants.custom_sip_value} 3. Set Custom SIP value {self.constants.custom_sip_value}
Q. Return to previous menu Q. Return to previous menu