Files
quiver-launcher/e2e
Deozaan 7ee28b3dff [Linux/Steam Deck] Add Shortcut to Steam while Steam is running (#383)
* Add to Steam while Steam is running, on Linux and Steam Deck

Steam rewrites its shortcuts file from memory when it exits, so a shortcut
written while it's running was lost. Quiver waited in a separate copy of the
launcher until Steam closed, and where Steam had started Quiver it couldn't
add the game at all.

On Linux the running Steam can add a non-Steam game itself, at once, through
its own add-non-steam-game handler — the same one a Steam Deck's Add to Steam
uses. Quiver now writes a small .desktop naming the app that runs a script
starting it, and hands that to Steam, so Steam is the one that writes the
shortcut and it lasts. The script carries the folder, environment and whole
command, so the game starts exactly as Quiver starts it and keeps its exact
title.

Artwork is placed for every app id the shortcut might get, since Steam writes
its program back with its own quoting. On Linux, Steam running Quiver no
longer greys out Add to Steam; Windows, and Steam's own Proton on Linux, keep
the old behaviour.

* Let Steam keep its own Proton when a Windows game is added while Steam runs

On Linux a shortcut runs a wrapper script named by a .desktop, but Steam auto-assigns Proton to a .sh and would run it as a Windows program. A Windows game Steam itself runs with Proton now gets a .desktop naming the game, so Steam stores the game as the program and applies its own compat tool, at once through the running client or written directly once Steam closes.

* Make a game's program runnable so Steam keeps it in a shortcut

A game's .exe from a zip often arrives without the executable bit, and Steam only stores a desktop's program as the shortcut when it can run it: without the bit it adds the .desktop itself, named for the file and launching nothing. Installing now marks .exe, .bat and .cmd runnable, and making a Proton shortcut marks the game runnable too, for installs that came before.

* Add a native game to Steam directly, and use the id Steam chose

A Linux shortcut's `.desktop` now names the game's own program, so Steam
stores the program and starts it in the game's folder, instead of running a
`.sh` wrapper (a game that needs environment variables still gets one, since
an `Exec` Steam parses can't carry them). The launcher carries the launch
options, so the direct write once Steam closes keeps the arguments.

Steam assigns a live add's app id itself, and it need not be the CRC of the
program and name, so the id is read back from its shortcuts.vdf after the add
rather than guessed, and the artwork is named for what it chose. The Icon
grid image is placed alongside the others.

* Say the artwork shows after Steam restarts

Steam reads the grid folder as it loads, so artwork copied in for a live add
shows after a restart, while the shortcut itself is already in the library.
The result says so, rather than leaving the player to wonder.

* Sync the Chinese catalogs with the new Steam note

The Steam-running note's text changed, and main's Simplified and Traditional
Chinese catalogs still carried the old string. Re-extracting replaced it and
left the new one untranslated, as the other locales already were.
2026-11-15 23:44:52 +11:00
..
2026-10-31 21:54:21 +11:00
2026-10-31 21:54:21 +11:00
2026-10-31 21:54:21 +11:00