summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorder richter <der.richter@gmx.de>2024-02-25 16:17:26 +0100
committerder richter <der.richter@gmx.de>2024-03-07 01:16:32 +0100
commita13a6743633d9e0eddb2ea7befbef89f1e19788a (patch)
tree8b4ea14e8f53235dc3f674c2bc45f0d1e947c988
parent8a37f0f693bc70252acbbe3a1e68ed4b11da197f (diff)
downloadmpv-a13a6743633d9e0eddb2ea7befbef89f1e19788a.tar.bz2
mpv-a13a6743633d9e0eddb2ea7befbef89f1e19788a.tar.xz
osxbundle: activate Game Mode with App bundle
mpv isn't really a game and categorising our App bundle as game seems counterintuitive. though as a video player it does have some similarities, possibly needing considerably CPU and GPU resources and low presentation latencies. the macOS Game Mode promises exactly that, it gives App the highest priority access to CPU and GPU resources and lowers usage for background tasks. sadly the Game Mode can only be activated by categorising the App as a game and that is only possible with an App bundle and not as a command line tool.
-rw-r--r--TOOLS/osxbundle/mpv.app/Contents/Info.plist2
1 files changed, 2 insertions, 0 deletions
diff --git a/TOOLS/osxbundle/mpv.app/Contents/Info.plist b/TOOLS/osxbundle/mpv.app/Contents/Info.plist
index e239dc74f9..eaa83ad0d8 100644
--- a/TOOLS/osxbundle/mpv.app/Contents/Info.plist
+++ b/TOOLS/osxbundle/mpv.app/Contents/Info.plist
@@ -188,6 +188,8 @@
<string>${VERSION}</string>
<key>NSHighResolutionCapable</key>
<true/>
+ <key>LSApplicationCategoryType</key>
+ <string>public.app-category.games</string>
<key>LSEnvironment</key>
<dict>
<key>MallocNanoZone</key>