From a13a6743633d9e0eddb2ea7befbef89f1e19788a Mon Sep 17 00:00:00 2001 From: der richter Date: Sun, 25 Feb 2024 16:17:26 +0100 Subject: [PATCH] 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. --- TOOLS/osxbundle/mpv.app/Contents/Info.plist | 2 ++ 1 file changed, 2 insertions(+) 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 @@ ${VERSION} NSHighResolutionCapable + LSApplicationCategoryType + public.app-category.games LSEnvironment MallocNanoZone