Fix incorrect AMFI and SIP detection

This commit is contained in:
Mykola Grymalyuk
2021-06-15 17:44:04 -06:00
parent 3af65423c6
commit 04dee1fcff

View File

@@ -42,6 +42,10 @@ class OpenCoreLegacyPatcher():
self.constants.sip_status = True
self.constants.secure_status = False
self.constants.disable_amfi = False
else:
self.constants.sip_status = False
self.constants.secure_status = False
self.constants.disable_amfi = True
else:
self.constants.sip_status = False
self.constants.secure_status = False