HGL
Heroic Games Launcher•17mo ago
correct-apricot

Shortcuts can't boot the games

Using Heroic-2.12.1 AppImage. Any game be it installed or local won't start from the desktop and start menu shortcuts. Example is from Hitman Absolution installed from GOG ("Couldn't open the URI. The specified location is not supported.")
No description
No description
6 Replies
stormy-gold
stormy-gold•17mo ago
what is in the Exec= line in the desktop shortcut?
correct-apricot
correct-apricotOP•17mo ago
xdg-open heroic://launch/gog/1757179626
xdg-open heroic://launch/gog/1757179626
stormy-gold
stormy-gold•17mo ago
unless you have set up a URI handler for the appimage, you'll need to replace xdg-open with the path to the AppImage, and I'm not 100% sure if you need something extra in between to signify that you're launching a specific game that way
dependent-tan
dependent-tan•17mo ago
using flatpak version would be a lot easier here
stormy-gold
stormy-gold•17mo ago
agreed
correct-apricot
correct-apricotOP•17mo ago
hmm, I tend to avoid flatpaks. would the .tar.xz need workarounds too? EDIT: tried it and yep, same as the appimage solved it creating a .desktop in /usr/share/applications that executes the AppImage (or .tar.xz executable) as
./heroic %u
./heroic %u
and then using the mimeo package to assign it to the MIME type:
mimeo --add 'x-scheme-handler/heroic' Heroic
mimeo --add 'x-scheme-handler/heroic' Heroic
thanks for pointing me in the right direction, this was a bit more confusing (but simpler) than adding MIME types for thumbnail generation 🙂

Did you find this page helpful?