1
0
Fork 0
mirror of synced 2024-06-26 18:20:50 +12:00

Merge pull request #169 from ZhaoZuohong/main

add "Categories=Game;" in desktop entries
This commit is contained in:
Dummerle 2022-02-17 23:48:25 +01:00 committed by GitHub
commit f12686e6c9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 0 deletions

View file

@ -1,6 +1,7 @@
[Desktop Entry]
Name=Rare
Type=Application
Categories=Game;
Icon=rare
Exec=rare
Comment=A GUI for legendary, an open source replacement for Epic Games Launcher

View file

@ -270,6 +270,7 @@ def create_rare_desktop_link(type_of_link):
"[Desktop Entry]\n"
f"Name=Rare\n"
f"Type=Application\n"
f"Categories=Game;\n"
f"Icon={os.path.join(resources_path, 'images', 'Rare.png')}\n"
f"Exec={executable}\n"
"Terminal=false\n"
@ -342,6 +343,7 @@ def create_desktop_link(app_name, core: LegendaryCore, type_of_link="desktop") -
"[Desktop Entry]\n"
f"Name={igame.title}\n"
f"Type=Application\n"
f"Categories=Game;\n"
f"Icon={icon}.png\n"
f"Exec={executable} launch {app_name}\n"
"Terminal=false\n"