Add PrefersNonDefaultGPU flag to Desktop Entry

This means that the application will automatically start with the dedicated GPU of laptops, instead of the iGPU. Based on the Linux's FreeDesktop spec: https://specifications.freedesktop.org/desktop-entry-spec/latest/ar01s06.html
This commit is contained in:
Eonfge
2023-02-27 10:02:15 +01:00
committed by Matthias Mailänder
parent d4135d608e
commit a4f9ceaf09

View File

@@ -10,3 +10,4 @@ Terminal=false
Categories=Game;StrategyGame;
StartupWMClass=openra-{MODID}-{TAG}
MimeType=x-scheme-handler/openra-{MODID}-{TAG};
PrefersNonDefaultGPU=true