Skip to content

0.2.1

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 17 Jul 03:48
Fix packaged app crash: bundle CommonJS main/preload modules

electron-vite's Rollup bundler only follows ESM import graphs, so the
CommonJS require('./windows') / require('./tray') / require('./services/*')
calls in the main and preload entries were left as external requires with
no emitted files, causing "Cannot find module './windows'" on launch.

Widen commonjsOptions.include to /src/ so @rollup/plugin-commonjs
transforms and bundles the local CJS modules into the entry.

Also replace the malformed nsis.guid (non-hex last segment) with a valid
GUID so in-place upgrades are deterministic.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>