Skip to content

fix(desktop): cross-platform dev scripts, Windows installer icon, per-name user-data dirs#209

Open
luminary19 wants to merge 2 commits into
sybil-solutions:mainfrom
luminary19:up/desktop-windows
Open

fix(desktop): cross-platform dev scripts, Windows installer icon, per-name user-data dirs#209
luminary19 wants to merge 2 commits into
sybil-solutions:mainfrom
luminary19:up/desktop-windows

Conversation

@luminary19

Copy link
Copy Markdown
Contributor

Summary

Desktop dev scripts used POSIX inline env syntax (fails under cmd.exe), the
Windows installer shipped the default Electron icon, and renamed dev builds
shared the production user-data dir (cross-platform state-corruption
hazard). Scripts move to cross-env, electron-builder.yml gains a Windows
icon.ico, and the main process derives the user-data dir from the product
name. Fixes #208.

Validation

npm --prefix frontend run typecheck and typecheck:desktop clean;
check:quality (lint + typecheck + build + depcheck) runs as the pre-push gate.
cross-env is added as a devDependency (used by the desktop:start:dev*
scripts) and registered in .depcheckrc.json so the depcheck gate stays green.
Desktop packaging + the isolated per-name user-data dir were verified live on
Windows 11; macOS dev-mode commands are unchanged (cross-env passes the env
through identically).

UI changes

Installer/app icon on Windows only.

Risks / rollout notes

  • cross-env is a devDependency addition (already whitelisted in depcheck
    ignores by this change).

@luminary19
luminary19 requested a review from 0xSero as a code owner July 13, 2026 19:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] Desktop dev scripts fail on Windows and the installer has no icon; named dev builds share the production user-data dir

1 participant