]> git.rm.cloudns.org Git - xonotic/xonotic.git/commitdiff
Declare Xonotic.app as a game to macOS.
authorRudolf Polzer <divVerent@gmail.com>
Tue, 24 Oct 2023 19:48:34 +0000 (21:48 +0200)
committerRudolf Polzer <divVerent@gmail.com>
Tue, 24 Oct 2023 19:48:34 +0000 (21:48 +0200)
This should enable the new "Game Mode" from
https://support.apple.com/en-us/HT213658

To test, make Xonotic fullscreen, move menu to the top and see if a
gamepad icon appears in the top right.

misc/buildfiles/osx/Xonotic.app/Contents/Info.plist

index 4657eb90a61ccd1e0eb37ea9ea489064b7ded38a..26d21e4dd8b066d1f8adf3517fef6e6e181d4a4c 100644 (file)
@@ -14,6 +14,8 @@
        <string>????</string>
        <key>CFBundleVersion</key>
        <string>1.0</string>
+       <key>LSApplicationCategoryType</key>
+       <string>public.app-category.action-games</string>
        <key>LSMinimumSystemVersion</key>
        <string>10.4.0</string>
        <key>LSMinimumSystemVersionByArchitecture</key>