kyechou / leagueoflegends

League of Legends install and launch wrapper for Linux
https://www.leagueoflegends.com
GNU General Public License v3.0
290 stars 23 forks source link

Modify .desktop to default to discrete GPU #111

Closed pheki closed 1 year ago

pheki commented 1 year ago

Hi! Thanks a lot for creating and maintaining this :)

Spec: https://specifications.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html

Steam uses the same: https://github.com/ValveSoftware/steam-for-linux/issues/634

Also, unrelated, trying to validate the file it seems that the Wine category is invalid:

$ desktop-file-validate leagueoflegends.desktop 
leagueoflegends.desktop: error: value "Game;Wine;" for key "Categories" in group "Desktop Entry" contains an unregistered value "Wine"; values extending the format should start with "X-"

I can remove the Wine category on this PR if you want to

kyechou commented 1 year ago

Hi @pheki, thanks for the PR and checking the desktop file. I've had the category fixed in a separate commit to make the PR cleaner. Merging.

pheki commented 1 year ago

TYSM!