Skip to content

Commit ee6e7f4

Browse files
committed
ci: mark the app as a game so macOS Game Mode can activate
macOS Game Mode (Sonoma+) activates automatically when an app whose LSApplicationCategoryType is public.app-category.games runs frontmost in full screen. Set the category in the bundle Info.plist so picking the Fullscreen display mode triggers Game Mode (CPU/GPU prioritisation, lower input/audio latency).
1 parent 525ae44 commit ee6e7f4

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/macos-build.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -555,6 +555,8 @@ jobs:
555555
<string>6.0</string>
556556
<key>CFBundlePackageType</key>
557557
<string>APPL</string>
558+
<key>LSApplicationCategoryType</key>
559+
<string>public.app-category.games</string>
558560
<key>LSMinimumSystemVersion</key>
559561
<string>13.0</string>
560562
<key>NSHighResolutionCapable</key>

0 commit comments

Comments
 (0)