mirror of
https://github.com/hoornet/vega.git
synced 2026-06-11 23:43:31 -07:00
5cbaa7b741
Named after Jurij Vega (1754-1802), Slovenian mathematician who made knowledge accessible through his logarithm tables. Rebrand before OpenSats application (April 1). - Product name, window title, identifiers, binary name all renamed - Cargo package: wrystr -> vega, wrystr_lib -> vega_lib - PKGBUILD: wrystr -> vega (new AUR package name) - Release workflow: artifact names, release text updated - README: new tagline referencing Jurij Vega - DB migration: auto-renames wrystr.db -> vega.db on first launch - Keyring service name kept as "wrystr" for backward compatibility - localStorage keys kept as wrystr_* to preserve existing user data Pending manual steps: - Rename GitHub repo hoornet/wrystr -> hoornet/vega - Create new AUR package vega-git, orphan wrystr-git - Update local .desktop launcher
9 lines
377 B
TypeScript
9 lines
377 B
TypeScript
/** Dev-only logger — all output is stripped in production builds. */
|
|
const isDev = import.meta.env.DEV;
|
|
|
|
export const debug = {
|
|
log: (...args: unknown[]) => { if (isDev) console.log("[Vega]", ...args); },
|
|
warn: (...args: unknown[]) => { if (isDev) console.warn("[Vega]", ...args); },
|
|
error: (...args: unknown[]) => { if (isDev) console.error("[Vega]", ...args); },
|
|
};
|