sys_patch: Add ColorSync downgrade

This commit is contained in:
Mykola Grymalyuk
2023-01-25 12:15:06 -07:00
parent 71ca6731fa
commit 97024361cd
5 changed files with 36 additions and 2 deletions
+6 -1
View File
@@ -252,4 +252,9 @@ class generate_defaults:
self.constants.disable_cs_lv = True
if os_data.os_data.ventura in self.constants.legacy_accel_support:
# Only disable AMFI if we officially support Ventura
self.constants.disable_amfi = True
self.constants.disable_amfi = True
# Enable BetaBlur if user hasn't disabled it
is_blur_enabled = subprocess.run(["defaults", "read", "-g", "Moraea_BlurBeta"], stdout=subprocess.PIPE).stdout.decode("utf-8").strip()
if is_blur_enabled in ["false", "0"]:
subprocess.run(["defaults", "write", "-g", "Moraea_BlurBeta", "-bool", "true"])