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:
flatpak run --branch=master --arch=x86_64 --command=/app/bin/UnleashedRecomp io.github.hedge_dev.unleashedrecomp
flatpak run --branch=master --arch=x86_64 --command=/app/bin/UnleashedRecomp io.github.hedge_dev.unleashedrecomp
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.
No description
No description
No description
4 Replies
fair-rose
fair-rose3w 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 though
other-emerald
other-emeraldOP3w 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?
fair-rose
fair-rose3w 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
other-emerald
other-emeraldOP3w ago
Ah, I see. I appreciate it.

Did you find this page helpful?