瀏覽代碼

cmake: Turn off camera reaction by default on macOS 14.4 and later

The reaction effects that macOS adds by default are confusing to users
as they're turned on by default and users don't know where they come
from or where to turn them off. Setting this flag in the apps Info.plist
prevents them from being turned on by default. The macOS UI makes it
very obvious to the user where they can turn them on should they wish to
do so.
gxalpha 10 月之前
父節點
當前提交
79f5ba0e1d
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      frontend/cmake/macos/Info.plist.in

+ 2 - 0
frontend/cmake/macos/Info.plist.in

@@ -2,6 +2,8 @@
 <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
 <plist version="1.0">
 <dict>
+	<key>NSCameraReactionEffectGesturesEnabledDefault</key>
+	<false/>
 	<key>NSHighResolutionCapable</key>
 	<true/>
 	<key>LSAppNapIsDisabled</key>