mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-04-22 19:10:15 +10:00
defaults: enable beta menubar
This commit is contained in:
@@ -5,8 +5,10 @@
|
|||||||
- Resolves Safari 16.4 rendering issue
|
- Resolves Safari 16.4 rendering issue
|
||||||
- Resolves left side menubar selections
|
- Resolves left side menubar selections
|
||||||
- Implements automatic menubar text color
|
- Implements automatic menubar text color
|
||||||
|
- New Menubar implementation can be disabled via `defaults write -g Amy.MenuBar2Beta -bool false`
|
||||||
- Implement full IOUSBHostFamily downgrade for UHCI/OHCI
|
- Implement full IOUSBHostFamily downgrade for UHCI/OHCI
|
||||||
- Resolves panics on certain iMac models
|
- Resolves panics on certain iMac models
|
||||||
|
- Resolve unused KDKs not being properly cleaned up
|
||||||
- Increment Binaries:
|
- Increment Binaries:
|
||||||
- PatcherSupportPkg 0.9.2 - release
|
- PatcherSupportPkg 0.9.2 - release
|
||||||
|
|
||||||
|
|||||||
@@ -309,7 +309,8 @@ class GenerateDefaults:
|
|||||||
# Only disable AMFI if we officially support Ventura
|
# 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
|
for key in ["Moraea_BlurBeta", "Amy.MenuBar2Beta"]:
|
||||||
is_blur_enabled = subprocess.run(["defaults", "read", "-g", "Moraea_BlurBeta"], stdout=subprocess.PIPE).stdout.decode("utf-8").strip()
|
# Enable BetaBlur if user hasn't disabled it
|
||||||
if is_blur_enabled in ["false", "0"]:
|
is_key_enabled = subprocess.run(["defaults", "read", "-g", key], stdout=subprocess.PIPE).stdout.decode("utf-8").strip()
|
||||||
subprocess.run(["defaults", "write", "-g", "Moraea_BlurBeta", "-bool", "true"])
|
if is_key_enabled not in ["false", "0"]:
|
||||||
|
subprocess.run(["defaults", "write", "-g", key, "-bool", "true"])
|
||||||
Reference in New Issue
Block a user