Electron shell template for jdm-electron-flask-template desktop apps.
- Electron
- electron-builder (NSIS installer)
electron/
├── main.js # Main process — backend lifecycle, IPC
├── loading.html # Splash screen while backend starts
├── resources/
│ └── backend/
│ └── flask_server/ # Built Flask exe (release)
├── test/ # Unpacked build for testing
└── package.json
npm installStart from the project root:
run devrun compile --electronPackages the app using electron-builder with whatever is in resources/. Output goes to outputs/{version}/.
After jdm compile --backend or jdm compile --frontend, the test/ folder is updated automatically. Launch the unpacked exe directly from test/ to test changes without rebuilding the installer.