60e2fb26afca64555de05ca1b2c8b2c030749011
Found by testing the first real Windows installer build end-to-end: - electron-builder.yml: `publisherName` under `win` is invalid in electron-builder 26.x (moved under `win.signtoolOptions`), which made `npm run build:win` fail validation entirely. Removed (no code signing configured, so it wasn't doing anything anyway). - index.ts: the production-only CSP header (added on top of index.html's own meta CSP, only active when !is.dev) was missing `blob:` in img-src and had no media-src directive at all. The GLB avatar's embedded textures and ElevenLabs TTS playback both go through `URL.createObjectURL(new Blob(...))`, so both silently failed in the packaged app while working fine in dev (dev skips this header entirely). Avatar rendered untextured, no audio played. - index.ts: added `app.requestSingleInstanceLock()` + a `second-instance` handler. Without it, every click on the desktop shortcut launched another full instance (own window, own SQLite connections, own review scheduler), which the installed app visibly allowed. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
forge-scaffold
An Electron application with React and TypeScript
Recommended IDE Setup
Project Setup
Install
$ npm install
Development
$ npm run dev
Build
# For windows
$ npm run build:win
# For macOS
$ npm run build:mac
# For Linux
$ npm run build:linux
Languages
TypeScript
95.8%
JavaScript
3.8%
CSS
0.2%
HTML
0.1%