mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-06-18 13:20:00 +10:00
Support decoding SIP value
This commit is contained in:
+17
-2
@@ -9,7 +9,7 @@ from pathlib import Path
|
||||
class Constants:
|
||||
def __init__(self):
|
||||
self.patcher_version = "0.0.19"
|
||||
self.opencore_commit = "7bb41aa - 2021-03-06"
|
||||
self.opencore_commit = "c92bcb7 - 2021-03-20"
|
||||
self.opencore_version = "0.6.8"
|
||||
self.lilu_version = "1.5.1"
|
||||
self.whatevergreen_version = "1.4.8"
|
||||
@@ -205,4 +205,19 @@ class Constants:
|
||||
@property
|
||||
def gpusupport_path(self): return self.payload_apple_private_frameworks_path / Path("GPUSupport.framework")
|
||||
@property
|
||||
def skylight_path(self): return self.payload_apple_private_frameworks_path / Path("SkyLight.framework")
|
||||
def skylight_path(self): return self.payload_apple_private_frameworks_path / Path("SkyLight.framework")
|
||||
|
||||
csr_values = [
|
||||
"CSR_ALLOW_UNTRUSTED_KEXTS ",# 0x1 - Introduced in El Capitan
|
||||
"CSR_ALLOW_UNRESTRICTED_FS ",# 0x2 - Introduced in El Capitan
|
||||
"CSR_ALLOW_TASK_FOR_PID ",# 0x4 - Introduced in El Capitan
|
||||
"CSR_ALLOW_KERNEL_DEBUGGER ",# 0x8 - Introduced in El Capitan
|
||||
"CSR_ALLOW_APPLE_INTERNAL ",# 0x10 - Introduced in El Capitan
|
||||
"CSR_ALLOW_UNRESTRICTED_DTRACE ",# 0x20 - Introduced in El Capitan
|
||||
"CSR_ALLOW_UNRESTRICTED_NVRAM ",# 0x40 - Introduced in El Capitan
|
||||
"CSR_ALLOW_DEVICE_CONFIGURATION ",# 0x80 - Introduced in El Capitan
|
||||
"CSR_ALLOW_ANY_RECOVERY_OS ",# 0x100 - Introduced in Sierra
|
||||
"CSR_ALLOW_UNAPPROVED_KEXTS ",# 0x200 - Introduced in High Sierra
|
||||
"CSR_ALLOW_EXECUTABLE_POLICY_OVERRIDE",# 0x400 - Introduced in Mojave
|
||||
"CSR_ALLOW_UNAUTHENTICATED_ROOT ",# 0x800 - Introduced in Big Sur
|
||||
]
|
||||
Reference in New Issue
Block a user