mirror of
https://github.com/tgeorgiadis/quiver-launcher.git
synced 2026-12-05 11:17:59 -05:00
Replaces PostHog. Events go in batches to the website's /api/launcher/usage, which keeps Google's secret, under a random id for the computer that's replaced when usage data is turned off. Nothing is linked to a Quiver account any more. Where the website asks first (the EU, UK and Switzerland, or if that can't be found out), nothing is sent until the player allows it.
13 lines
496 B
JavaScript
13 lines
496 B
JavaScript
/**
|
|
* Builds the app for the journeys (a debug build, no installer) with usage data
|
|
* on, as in a release; session.js sends it to the mock API.
|
|
*/
|
|
import { spawnSync } from "node:child_process";
|
|
|
|
const { status } = spawnSync("pnpm", ["--filter", "@quiver/launcher", "tauri", "build", "--debug", "--no-bundle"], {
|
|
stdio: "inherit",
|
|
shell: process.platform === "win32",
|
|
env: { ...process.env, VITE_USAGE_DATA: "1", VITE_USAGE_DEV: "", VITE_SENTRY_DSN: "" },
|
|
});
|
|
process.exit(status ?? 1);
|