All checks were successful
Queue Release Build / prepare (push) Successful in 15s
Deploy Web Apps / deploy (push) Successful in 5m35s
Queue Release Build / build-linux (push) Successful in 24m45s
Queue Release Build / build-windows (push) Successful in 13m52s
Queue Release Build / finalize (push) Successful in 23s
Electron Shell
Electron main-process package for MetoYou / Toju. This directory owns desktop bootstrap, the preload bridge, IPC handlers, desktop persistence glue, updater integration, and window-level behavior.
Commands
npm run build:electronbuilds the Electron TypeScript output todist/electron.npm run electronbuilds the product client and Electron, then launches the desktop app.npm run electron:devstarts the Angular client and Electron together.npm run devstarts the full desktop stack: server, Angular client, and Electron.npm run electron:build,npm run electron:build:win,npm run electron:build:mac, andnpm run electron:build:linuxcreate packaged desktop builds.
Structure
| Path | Description |
|---|---|
main.ts |
Electron app bootstrap and process entry point |
preload.ts |
Typed renderer-facing preload bridge |
app/ |
App lifecycle and startup composition |
ipc/ |
Renderer-invoked IPC handlers |
cqrs/ |
Local database command/query handlers and mappings |
db/, entities/, migrations/ |
Desktop persistence and schema evolution |
audio/ |
Desktop audio integrations |
update/ |
Desktop updater flow |
window/ |
Window creation and window-level behavior |
Notes
- When adding a renderer-facing capability, update the Electron implementation,
preload.ts, and the renderer bridge intoju-app/together. - Treat
dist/electron/anddist-electron/as generated output. - See AGENTS.md for package-level editing rules.