- Bump version in
desktop/package.json (patch bump unless user specifies)
- Build dashboard from
src/dashboard/:
cd src/dashboard && npx.cmd vite build
- Copy dist to desktop/:
cp -r dist/server dist/core dist/dashboard desktop/
Note: dist/server and dist/core come from tsc (may have pre-existing TS errors — that's fine, the JS still emits). The dashboard comes from vite build above.
- Install desktop deps:
cd desktop && npm.cmd install
- Build executable (Windows by default):
cd desktop && npx.cmd electron-builder --win
Output lands in desktop/artifacts/ as an NSIS .exe installer.
- Commit version bump + push
- Optionally create GitHub release with
gh release create v0.x.x desktop/artifacts/*.exe