Open Anuskuss opened 5 months ago
Heroic can already be told to launch a game via the CLI/protocol (this is how Desktop/Steam shortcuts work). There's currently not a way to generate a protocol URL directly, although it should be fairly easy to write out by hand (it's heroic://launch/<runner>/<appName>
; your runner will be legendary
/gog
/nile
/sideload
depending on the game type, the appName can be found in the footer of the game settings)
Exporting just the launch command has a few issues. Of course changes to Heroic's settings would not auto-update the command, and we would not be able to do game update checks / save sync / general sanity checks before launching the game
There's currently not a way to generate a protocol URL directly
Then I'd also like to also request the ability to export the URI as well.
Of course changes to Heroic's settings would not auto-update the command
That doesn't matter, the command is a one-time thing. Imagine if one wants to run a game in a different tty (e.g. for use with gamescope). You just right-click the game, export the command (either in an inputfield or directly into the clipboard), switch tty's and paste. If I need to do that again, I just export it again.
Problem description
I'd like to have the ability to export the command that Heroic would normally run so I can run it manually. Right now if I want the full command I have to launch a game and grab the
cmdline
/env
by hand.Feature description
Export command would look like this:
That's user env + heroic env + python + proton/wine + game.
Alternatives
No response
Additional information
No response