defaults.py: Fix defaults write

This commit is contained in:
Mykola Grymalyuk
2022-05-11 14:37:16 -06:00
parent feb108b1eb
commit 78355c2c5a

View File

@@ -122,7 +122,7 @@ class generate_defaults:
if ts2_status in ["1", "true"]:
settings.allow_ts2_accel = True
else:
subprocess.run(["defaults", "write", "com.dortania.opencore-legacy-patcher", "MacBookPro_TeraScale_2_Accel", "-bool", "TRUE"])
subprocess.run(["defaults", "write", "com.dortania.opencore-legacy-patcher", "MacBookPro_TeraScale_2_Accel", "-bool", "FALSE"])
settings.allow_ts2_accel = False
try: