Add better error messaging

This commit is contained in:
Mykola Grymalyuk
2021-06-15 18:49:53 -06:00
parent ce6805507d
commit b3d2ac190c

View File

@@ -435,6 +435,8 @@ class PatchSysVolume:
else:
sip = self.constants.root_patch_sip_mojave
print("\n".join(sip))
print("For Hackintoshes, please set csr-active-config to 030A0000 (0xA03)")
print("For non-OpenCore Macs, please run 'csrutil disable' and \n'csrutil authenticated-root disable' in RecoveryOS")
if self.sbm_enabled is True:
print("\nCannot patch!!! Please disable SecureBootModel!!!")
print("Disable SecureBootModel in Patcher Settings and Rebuild OpenCore")