mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-04-18 05:34:42 +10:00
Raise SIP requirement for root patching
This commit is contained in:
@@ -173,7 +173,7 @@ Note: For security reasons, OpenShell will be disabled when Vault is set.
|
||||
print(
|
||||
f"""SIP is used to ensure proper security measures are set,
|
||||
however to patch the root volume this must be lowered partially.
|
||||
Only disable is absolutely necessary. SIP value = 0x802
|
||||
Only disable is absolutely necessary. SIP value = 0xA03
|
||||
|
||||
Valid options:
|
||||
|
||||
|
||||
@@ -185,8 +185,3 @@ class generate_defaults:
|
||||
nv_web_status = global_settings.global_settings().read_property("Force_Web_Drivers")
|
||||
if nv_web_status is True:
|
||||
settings.force_nv_web = True
|
||||
|
||||
|
||||
if settings.disable_cs_lv is True:
|
||||
# With Ventura, SIP needs to be lowered for AMFI to work
|
||||
settings.custom_sip_value = "0xA03"
|
||||
@@ -213,7 +213,7 @@ class detect_root_patch:
|
||||
|
||||
def check_sip(self):
|
||||
if self.constants.detected_os > os_data.os_data.catalina:
|
||||
if self.nvidia_web is True:
|
||||
if self.nvidia_web is True or self.constants.detected_os >= os_data.os_data.ventura:
|
||||
sip = sip_data.system_integrity_protection.root_patch_sip_big_sur_3rd_part_kexts
|
||||
sip_hex = "0xA03"
|
||||
sip_value = (
|
||||
|
||||
Reference in New Issue
Block a user