Skip to content

JDM-Github/jdm-electron-flask-electron

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jdm-electron-flask-electron

Electron shell template for jdm-electron-flask-template desktop apps.

Stack

  • Electron
  • electron-builder (NSIS installer)

Structure

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

Setup

npm install

Running (dev)

Start from the project root:

run dev

Building

run compile --electron

Packages the app using electron-builder with whatever is in resources/. Output goes to outputs/{version}/.

Testing Without Full Rebuild

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.

About

Electron shell template for jdm-electron-flask desktop apps. Manages Flask backend process lifecycle, port discovery, loading screen, and IPC bridges for file dialogs and cache.

Topics

Resources

Stars

Watchers

Forks

Contributors