mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-06-21 06:30:52 +10:00
sys_patch_auto.py: Avoid prompting config changes on hackintoshes
This commit is contained in:
@@ -115,6 +115,8 @@ class AutomaticSysPatch:
|
|||||||
should_notify = global_settings.global_settings().read_property("AutoPatch_Notify_Mismatched_Disks")
|
should_notify = global_settings.global_settings().read_property("AutoPatch_Notify_Mismatched_Disks")
|
||||||
if should_notify is False:
|
if should_notify is False:
|
||||||
print("- Skipping due to user preference")
|
print("- Skipping due to user preference")
|
||||||
|
elif settings.host_is_hackintosh is True:
|
||||||
|
print("- Skipping due to hackintosh")
|
||||||
else:
|
else:
|
||||||
if settings.booted_oc_disk:
|
if settings.booted_oc_disk:
|
||||||
root_disk = settings.booted_oc_disk.strip("disk")
|
root_disk = settings.booted_oc_disk.strip("disk")
|
||||||
|
|||||||
Reference in New Issue
Block a user