mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-04-13 20:28:21 +10:00
defaults.py: Set Beta Blur and Rim by default
Option still configurable in OCLP settings
This commit is contained in:
@@ -20,6 +20,8 @@
|
||||
- Resolve AppleGVACore crashing on MacBookPro11,3 in Monterey 12.4+
|
||||
- Add Nvidia Web Driver support for Maxwell and Pascal
|
||||
- Currently running in OpenGL mode, [non-Metal issues](https://github.com/dortania/OpenCore-Legacy-Patcher/issues/108) applicable
|
||||
- Enable Beta Blur and Rim settings on non-Metal by default
|
||||
- For slower hardware, disabling may slightly improve performance
|
||||
|
||||
## 0.4.5
|
||||
- Fix AutoPatcher.pkg download on releases
|
||||
|
||||
@@ -41,13 +41,8 @@ class generate_defaults:
|
||||
settings.host_is_non_metal = True
|
||||
|
||||
# If a Mac is non-Metal based, Beta Blur is highly recommended
|
||||
# However on lower end hardware, users may prefer the performance benefits without
|
||||
if not model.startswith("MacBook") and settings.detected_os >= os_data.os_data.big_sur:
|
||||
non_metal_args = [
|
||||
"Moraea_BlurBeta",
|
||||
"Moraea_RimBeta",
|
||||
]
|
||||
for arg in non_metal_args:
|
||||
if settings.detected_os >= os_data.os_data.big_sur:
|
||||
for arg in ["Moraea_BlurBeta", "Moraea_RimBeta"]:
|
||||
# If user explicitly set the blur, don't override
|
||||
arg_result = subprocess.run(["defaults", "read", "-g", arg], stdout=subprocess.PIPE).stdout.decode("utf-8").strip()
|
||||
if arg_result not in ["true", "1", "false", "0"]:
|
||||
|
||||
Reference in New Issue
Block a user