From 42478c726bd019fd6d914722fdbec8d3978aecbb Mon Sep 17 00:00:00 2001 From: Eduardo Covas <44532297+educovas@users.noreply.github.com> Date: Thu, 12 Sep 2024 10:51:08 -0300 Subject: [PATCH] Disable NSZoomButtonShowMenu only on Sonoma --- .../sys_patch/patchsets/shared_patches/non_metal.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opencore_legacy_patcher/sys_patch/patchsets/shared_patches/non_metal.py b/opencore_legacy_patcher/sys_patch/patchsets/shared_patches/non_metal.py index 0555b5016b..d0decf9b37 100644 --- a/opencore_legacy_patcher/sys_patch/patchsets/shared_patches/non_metal.py +++ b/opencore_legacy_patcher/sys_patch/patchsets/shared_patches/non_metal.py @@ -94,7 +94,7 @@ def patches(self) -> dict: "/usr/bin/defaults write /Library/Preferences/.GlobalPreferences.plist WebKitExperimentalUseGPUProcessForCanvasRenderingEnabled -bool false": True, **({"/usr/bin/defaults write /Library/Preferences/.GlobalPreferences.plist WebKitPreferences.acceleratedDrawingEnabled -bool false": True} if self._xnu_major >= os_data.sonoma else {}), **({"/usr/bin/defaults write /Library/Preferences/.GlobalPreferences.plist NSEnableAppKitMenus -bool false": True} if self._xnu_major >= os_data.sonoma else {}), - **({"/usr/bin/defaults write /Library/Preferences/.GlobalPreferences.plist NSZoomButtonShowMenu -bool false": True} if self._xnu_major >= os_data.sonoma else {}), + **({"/usr/bin/defaults write /Library/Preferences/.GlobalPreferences.plist NSZoomButtonShowMenu -bool false": True} if self._xnu_major == os_data.sonoma else {}), }, }, } \ No newline at end of file