diff --git a/misc/rare.desktop b/misc/rare.desktop index 4e9afa5d..47e1954f 100644 --- a/misc/rare.desktop +++ b/misc/rare.desktop @@ -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 diff --git a/rare/utils/utils.py b/rare/utils/utils.py index 58ed5c98..ea5913ee 100644 --- a/rare/utils/utils.py +++ b/rare/utils/utils.py @@ -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"