mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-04-23 11:30:15 +10:00
sys_patch_detect.py: Add AMFI check
This commit is contained in:
@@ -138,6 +138,10 @@ class detect_root_patch:
|
|||||||
self.sandy_gpu = False
|
self.sandy_gpu = False
|
||||||
self.legacy_keyboard_backlight = False
|
self.legacy_keyboard_backlight = False
|
||||||
|
|
||||||
|
if self.constants.detected_os >= os_data.os_data.ventura:
|
||||||
|
# All root patches in Ventura require AMFI disabled
|
||||||
|
self.amfi_must_disable = True
|
||||||
|
|
||||||
def check_dgpu_status(self):
|
def check_dgpu_status(self):
|
||||||
dgpu = self.constants.computer.dgpu
|
dgpu = self.constants.computer.dgpu
|
||||||
if dgpu:
|
if dgpu:
|
||||||
|
|||||||
Reference in New Issue
Block a user