Open TaTsuuYa opened 6 months ago
I think there are two parts to this problem.
First, Heroic is using the Electron protocol API to register heroic://
as a protocol for xdg-open
to find, and that is failing for some reason.
WARNING: [Backend]: Failed to register protocol with OS.
Second, Heroic is run inside an FHS environment wrapper (see buildFHSEnv
in the Nixpkgs manual), which may be why Electron fails to register the protocol.
I just tried creating a desktop shortcut from Steam to see what that looked like for comparison, and nothing happened, not even a log message, although Steam uses Chromium Embedded Framework, not Electron, so that may not have been of much use anyway.
I might need help from someone more familiar with Electron and buildFHSEnv
to figure out exactly why this operation is failing.
Describe the bug
So basically when I try launching games from the Heroic launcher nothing happens. When I checked the .desktop file,
Exec
set to:xdg-open heroic://launch/legendary/0a2d9f6403244d12969e11da6713137b
. I tried running the command in the console I got:Running
xdg-open heroic
gives:Steps To Reproduce
Steps to reproduce the behavior:
Expected behavior
The game should launch normally.
Additional context
Notify maintainers
@aidalgol
Metadata