Add better FV patch detection

This commit is contained in:
Mykola Grymalyuk
2021-09-21 18:59:50 -06:00
parent c748b03544
commit 1b2eea6b50
6 changed files with 16 additions and 3 deletions

View File

@@ -33,7 +33,7 @@ class OpenCoreLegacyPatcher:
self.constants.disable_cs_lv = True
if model in ModelArray.LegacyGPU:
if Utilities.check_metal_support(device_probe, self.computer) is True:
if host_is_target and Utilities.check_metal_support(device_probe, self.computer) is True:
# Building on device and we have a native, supported GPU
self.constants.sip_status = True
# self.constants.secure_status = True # Monterey