mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-06-21 06:30:52 +10:00
defaults.py: Fix defaults write
This commit is contained in:
@@ -122,7 +122,7 @@ class generate_defaults:
|
|||||||
if ts2_status in ["1", "true"]:
|
if ts2_status in ["1", "true"]:
|
||||||
settings.allow_ts2_accel = True
|
settings.allow_ts2_accel = True
|
||||||
else:
|
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
|
settings.allow_ts2_accel = False
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
|||||||
Reference in New Issue
Block a user