Garulf / Steam-Search

Search and launch your Steam Game library
MIT License
7 stars 3 forks source link

Plugin fails to launch non-steam programs/shortcuts #59

Open rrazgriz opened 1 year ago

rrazgriz commented 1 year ago

Entries in the steam library that are non-steam games/programs/shortcuts will show up in search, but will not launch when selected. These non-steam entries should launch directly, and should not offer a context menu with store/news/uninstall options.

This seems to be related to the launch_game method using a URI to launch game entries, which fails for non-steam shortcuts on my system.

Garulf commented 1 year ago

That's very strange. The URI should work for all Steam library entries.

If you add a Non-Steam game to desktop does that shortcut work for you?

rrazgriz commented 1 year ago

Yes, it does seem to work. Adding 7-zip as a non-steam game doesn't launch through the flow launcher plugin, but when adding a desktop shortcut, it works (results in the following shortcut): image

I get the following flow launcher log entry whenever attempting to launch an entry like this: 22:42:33.8261-04:00 - WARN - JsonRPCPlugin.ExecuteAsync - Empty JSON-RPC Response.

Here's my shortcuts.vdf for reference.

Garulf commented 1 year ago

Sorry could you please post the full error log?

rrazgriz commented 1 year ago

Sorry for the delay, lost track of this.

Here's a log consisting exclusively of the application starting up, and trying to run a non-steam shortcut: 2023-08-02.txt

23:55:28.0596-04:00 is the timestamp at which I try to run a non-steam shortcut.