Set PrefersNonDefaultGPU for hybrid devices

With the Property 'PrefersNonDefaultGPU', you can signal to dekstop environments like GNOME that you want to run the application using the more powerful secondary graphics card, if such a card is available. Specification: https://specifications.freedesktop.org/desktop-entry-spec/latest/ar01s06.html

With this change, you won't have to include a special prime-run script.
This commit is contained in:
Eonfge 2022-01-10 14:55:18 +01:00 committed by GitHub
parent 3fa6e22430
commit 131615811b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,5 +7,6 @@ Terminal=false
Exec=@Launcher_APP_BINARY_NAME@
StartupNotify=true
Icon=org.polymc.PolyMC
PrefersNonDefaultGPU=true
Categories=Game;
Keywords=game;minecraft;launcher;