Files
quiver-launcher/docs/usage-data.md
T
DeozaanandClaude Opus 5.5 18bd2ca15e Start games from desktop and Steam shortcuts through Quiver, so cloud saves sync (#522)
* Start games from desktop and Steam shortcuts through Quiver, so cloud saves sync

A shortcut made in Quiver started the game directly, so its saves never
synced before play or backed up after. It now runs `quiver --launch <app>`:
a small helper with no window that finds the open Quiver, or starts one
with none, waits while Quiver brings the saves in line as Play does, then
starts the game itself and tells Quiver when it closed, for the backup
and upload. Steam ties its overlay, controller settings, playing status
and Stop to the program it started and what that starts, which is why
the helper starts the game rather than Quiver (tested on Windows and a
Steam Deck).

Steam's Stop ends the shortcut at once on Windows, so a Quiver it starts
there breaks away from Steam's job. On Linux it stays among Steam's
processes, so Game Mode shows its window for the which-saves question;
Exit Game gives two seconds after SIGTERM, in which it backs up and hands
the upload to a Quiver started outside Steam (systemd-run, or flatpak run
on the host) with --upload-saves.

Usage data's app_launched and app_closed say whether Play or a shortcut
started the app, and how a shortcut's game ended.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Hand the saves on from the shortcut when Steam's Exit Game stops it

On a Steam Deck, Exit Game's SIGTERM also ended the AppImage's mount under
the Quiver the shortcut started, so it never got to back up or hand the
upload on. The shortcut's helper, which is still waiting on the game,
now starts the Quiver outside Steam's processes itself, and that Quiver
backs up the saves once the game has closed before sending them.

Each step of a shortcut's launch is noted in quiver.log ("shortcut: ..."),
with the app and the program's name only.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Return a Steam shortcut to the library as soon as the game closes

The AppImage's runtime (uruntime) kept its mount for a while after
Quiver closed, looking every five seconds whether it was still used, and
Steam showed the game as running on a black screen for up to 25 seconds
after it closed. The AppImage now holds REUSE_CHECK_DELAY=0, and the
Quiver a shortcut starts gets it too. A shortcut that can't start its
app shows Quiver's window with why before saying so, rather than quitting
before the window opened.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Leave the controllers to the game while a shortcut's Quiver has no window

Quiver reads controllers itself, through SDL, and its hidden page still
said it had the focus, so a Quiver a shortcut started moved through its
library, opened search (and Steam's keyboard) and started games as the
player played. With no window on screen it now leaves them alone, as
behind a game; shown for a question, it has them again.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Give the Quiver that sends the saves after Exit Game the session's display

Started by systemd-run, outside Steam's processes, it had none of the
session's environment and couldn't open even the window it keeps hidden
(Runtime(CreateWindow)), so Exit Game's saves weren't sent. It now gets
the display, the bus and what says it's Game Mode, and not what Steam set
for the game.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Keep a shortcut's Quiver running through Steam's Stop on Windows

Steam's Stop ends the program it started and every process whose parent
leads back to it; it puts a shortcut in no job (tested), so breaking
away from one did nothing and the Quiver the shortcut started was ended
before it could back up and send the saves. It's now started through a
middleman (--shortcut-hop) that exits at once, leaving it no living
parent to be found by.

quiver.log lines go out in one write, so a shortcut's helper and Quiver
writing at once don't run into each other.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Set up a game's copy from a shortcut, and start it through the shortcut

A shortcut whose game needed the player's copy was turned away with a
message, and Play without it in that Quiver's window started the game
from Quiver, which Steam didn't show or track. The shortcut now waits
while the window asks, as Play does: setting the copy up, Play without
it and "I've already set it up, don't ask again" all start the game
through the shortcut, and Cancel or closing the question tells it not to.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* A shortcut that starts Quiver waits for the account, so cloud saves sync first

A hidden Quiver started by a shortcut answered it before the account had
loaded, so cloud saves were off for that start and the game began with the
saves on this computer. The page now answers shortcuts once the account is
ready. The web tests' stand-in answers shortcut_requests, which the page
asks for on start.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015HpW13PMkoWDb7bqcSp3cK

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 20:34:23 +11:00

7.0 KiB

Usage data

Like quiverlauncher.com, the launcher sends usage data to Google Analytics, and errors to Sentry, to help improve it unless you turn it off. In the EU, the UK and Switzerland it asks first, and sends nothing until you allow it. You can change your mind on first start, in Settings ("Send usage data"), or through your Quiver account. The launcher follows your account's setting while you're signed in, but what it sends isn't linked to your account: only to a random identifier for this computer, which is replaced if you turn usage data off.

The launcher sends named events only (apps/launcher/src/telemetry.ts):

  • Starting up: the launcher starting, first-run setup finishing, usage data being allowed (and where), and each kind of controller connected (Xbox, PlayStation and so on, not its name).
  • How it's set up (settings_loaded, each launch): theme, language, TV mode, interface scale, the screen's resolution and scale, the library's layout and sort, the kind of Windows runner, and whether close to tray, full screen, a background picture or music, preview updates or a GitHub token are in use. Only that they are: never the files or the token.
  • What's in the library: counts of its apps by kind, installed, with updates waiting, updating by themselves, pinned and hidden (library_loaded, each launch), and once a day each catalog app installed, with its version, how it updates and whether an update is waiting (app_on_computer, at most 40).
  • Apps: catalog apps installed, updated, launched, closed (with the seconds played), uninstalled, added and removed, by slug, and when launched or closed, the version, whether Play or a desktop or Steam shortcut started it (and whether that shortcut had to start Quiver), and how a shortcut's game ended: it quit, Steam's Stop or Exit Game ended it, or Exit Game's two seconds handed its saves to another Quiver to send. Apps players add are named only by kind. Installs cancelled and at what stage; failed installs and launches, why, and what kind of failure; an app's folder renamed and the apps folder moved; an app's menu opened and its videos played, and several apps changed at once from the library (what was changed and how many apps, not which).
  • Mods: the mods screen opened, and mods installed, updated, uninstalled or failing to install: the catalog app's slug, the mod's id at its source, and the source.
  • Everything else: screens opened (each once per launch), playlists made, shared and followed, searches that found nothing (their length, not their words), corrections to an app's page started and sent (the topic, never what they say), announcements dismissed and their links opened, the catalog falling back to its backup or not answering at all, the launcher's own updates starting and failing, and sign-in and sign-out.

With usage data on, the launcher also tells quiverlauncher.com where it saw a catalog app keep its saves, so the catalog can list the place for every player (apps/launcher/src/saves.ts). It sends the app, the system, and each folder as a path under one of the system's own folders, such as data/Game/saves: no account, no identifier for the computer, no user name, and no file names or contents. A folder you chose yourself is never sent, each folder is sent once, and nothing is sent for an app whose save locations the catalog already lists. This doesn't go to Google Analytics.

It also tells quiverlauncher.com when a catalog app's newest save backup looks like more than saves (over 16 MB, over 200 files, mostly pictures, or a folder too big to back up), and when you say on the Saves tab that the folder holds your saves, so staff can see which apps' save locations need fixing (reportSaveWarning in saves.ts). It sends the app, the system, where the folder came from (the catalog, a folder the launcher found, or one you chose), the signs, the backup's size and file count, and the five file extensions that filled it most with their share of its bytes: no account, no identifier for the computer, and no file or folder names. Each is sent once while the folder stays the same. This doesn't go to Google Analytics either.

Every event carries the launcher's version, how this copy was installed (installer, portable, Flatpak and so on), the OS, its version (on Linux, with the distribution's name) and architecture, and whether it's a Steam Deck or in Steam's Game Mode.

Google Analytics allows 25 properties on an event, and one over that loses those that count it as activity. Every event carries 10, so one may add at most 15 (usage-summary.test.ts checks the largest).

Error reports cover crashes in the window, and failures installing, launching, uninstalling or reinstalling an app or updating the launcher, with the app's slug and what was being done. Failures that aren't the launcher's to fix aren't reported, such as no connection, a service that's down, a full disk, or a message already written for the player. Errors from before the launcher knows your choice wait in memory until it does. If it can't start far enough to find out (or opens on the library recovery screen), they're sent only if usage data was allowed the last time it ran and you haven't turned it off on this computer since, so a change made on your account meanwhile counts from its next full start.

Events go to quiverlauncher.com (the website's worker/launcherUsage.ts), which keeps the secret Google Analytics needs and passes them on with your country, so Google doesn't get your IP address. Error reports go directly to Sentry's EU region, which is set not to store IP addresses, or any location more exact than your country. Those are settings in the Sentry project (Security & Privacy), not in this code: its Advanced Data Scrubbing rules remove user.geo.city and user.geo.subdivision, which Sentry works out from your IP address even when it doesn't store it.

Nothing is captured automatically (no clicks, text, page views or replays), and paths, home and apps folders, and the computer's user name are removed from data sent. When Play can't find an app's program, its error report lists the kinds of file in the app's folder (dll, pak), never their names.

Variable When What
VITE_USAGE_DATA build time 1 sends usage data. Without it nothing is sent or shown.
VITE_USAGE_DEV build time 1 lets pnpm dev send too; dev builds send nothing otherwise.
VITE_SENTRY_DSN build time Sentry's launcher project. Without it no error reports are sent.
SENTRY_AUTH_TOKEN build time Uploads the source maps for error reports. Without it they aren't made.
QUIVER_USAGE_HOST run time Where events go; https://quiverlauncher.com unless set. The e2e tests use their mock, and anywhere else sends no error reports.