feat(desktop,launcher): default to ~/.waggle-community (P1.3c)

The Tauri shell's bundled npm environment and its first-launch flag, the
server installer's --data-dir default and the NSIS installer config
fell back to ~/.waggle. Use ~/.waggle-community (ADR-0011).

The Rust shell keeps the name in DEFAULT_DATA_DIR_NAME in lib.rs and the
launcher, which uses only Node built-ins, in DATA_DIR_NAME.
packages/shared/tests/data-dir.test.ts fails when either copy, or the
marketplace's, differs from @waggle/shared.
This commit is contained in:
shumeiko.it
2026-11-04 10:31:32 +01:00
parent b275f0bf89
commit 4fabed70c0
10 changed files with 80 additions and 43 deletions

View File

@@ -12,7 +12,7 @@ export interface InstallerConfig {
version: string;
publisher: string;
defaultInstallDir: string;
dataDir: string; // ~/.waggle
dataDir: string; // ~/.waggle-community (ADR-0011)
autostart: boolean;
desktopShortcut: boolean;
startMenuEntry: boolean;
@@ -27,7 +27,7 @@ export function getDefaultInstallerConfig(): InstallerConfig {
version: '0.1.0',
publisher: 'Waggle',
defaultInstallDir: 'C:\\Program Files\\Waggle',
dataDir: '~/.waggle',
dataDir: '~/.waggle-community',
autostart: true,
desktopShortcut: true,
startMenuEntry: true,