HGL
absent-sapphire
How do I add a Flatpak game to Heroic?
I have a game that I can launch perfectly fine from the terminal using this command:
I would like to be able to launch the game from Heroic instead of the terminal, but I don't know how to do that. I'm guessing it's a matter of breaking down that command and placing the parts into the appropriate fields in Heroic (like in the screenshots). It seems simple enough; perhaps I just need to be directed to documentation. Any help would be appreciated.
- Wine/Windows is not involved with this game.
- I am using the Flatpak version of Heroic.
- I already updated Heroic before coming here.
Thank you for your time.



4 Replies
broad-brown•8mo ago
you would add
flatpak-spawn --host in front of the command you want to run at the host level. essentially this means that flatpak-spawn (or /usr/bin/flatpak-spawn) is the executable and --host flatpak run --branch=master --arch=x86_64 --command=/app/bin/UnleashedRecomp io.github.hedge_dev.unleashedrecomp are the arguments.
this is done at your own risk thoughabsent-sapphireOP•8mo ago
Thank you.
What's the risk? Is it any worse than me manually typing the command into the terminal myself to run the game the way I have been?
broad-brown•8mo ago
I use the word "risk" lightly but because it's running outside of the flatpak sandbox.
it shouldn't be worse, but it's something to be aware of
absent-sapphireOP•8mo ago
Ah, I see. I appreciate it.