Merge pull request #169 from ZhaoZuohong/main
add "Categories=Game;" in desktop entries
This commit is contained in:
commit
f12686e6c9
2 changed files with 3 additions and 0 deletions
|
@ -1,6 +1,7 @@
|
||||||
[Desktop Entry]
|
[Desktop Entry]
|
||||||
Name=Rare
|
Name=Rare
|
||||||
Type=Application
|
Type=Application
|
||||||
|
Categories=Game;
|
||||||
Icon=rare
|
Icon=rare
|
||||||
Exec=rare
|
Exec=rare
|
||||||
Comment=A GUI for legendary, an open source replacement for Epic Games Launcher
|
Comment=A GUI for legendary, an open source replacement for Epic Games Launcher
|
||||||
|
|
|
@ -270,6 +270,7 @@ def create_rare_desktop_link(type_of_link):
|
||||||
"[Desktop Entry]\n"
|
"[Desktop Entry]\n"
|
||||||
f"Name=Rare\n"
|
f"Name=Rare\n"
|
||||||
f"Type=Application\n"
|
f"Type=Application\n"
|
||||||
|
f"Categories=Game;\n"
|
||||||
f"Icon={os.path.join(resources_path, 'images', 'Rare.png')}\n"
|
f"Icon={os.path.join(resources_path, 'images', 'Rare.png')}\n"
|
||||||
f"Exec={executable}\n"
|
f"Exec={executable}\n"
|
||||||
"Terminal=false\n"
|
"Terminal=false\n"
|
||||||
|
@ -342,6 +343,7 @@ def create_desktop_link(app_name, core: LegendaryCore, type_of_link="desktop") -
|
||||||
"[Desktop Entry]\n"
|
"[Desktop Entry]\n"
|
||||||
f"Name={igame.title}\n"
|
f"Name={igame.title}\n"
|
||||||
f"Type=Application\n"
|
f"Type=Application\n"
|
||||||
|
f"Categories=Game;\n"
|
||||||
f"Icon={icon}.png\n"
|
f"Icon={icon}.png\n"
|
||||||
f"Exec={executable} launch {app_name}\n"
|
f"Exec={executable} launch {app_name}\n"
|
||||||
"Terminal=false\n"
|
"Terminal=false\n"
|
||||||
|
|
Loading…
Reference in a new issue