Or appUI for short, is an Electron application written in Typescript, which provides a GUI for the Python backend.
Uses npm for dependency management, see package.json.
It is mainly built upon Electron runtime, Electron-builder packager, Vite bundler, React framework, and MUI material library.
Local dev is done using Electron with Vite dev server, requiring the python backend server to be running,
while build process is done using Electron-Builder to create an all-inclusive Electron app installer.
The installed app runs python backend silently as a child process.
β All commands shall be run in appUI directory!
cd appUI
nvm i # or manually install nodeJS version as per the file .nvmrc
npm i
- Run the python backend (any method)
npm start(runs electron dev app using vite dev server)
Unit tests: npm run test
Typecheck: npm run tsc
ESLint: npm run lint
Prettier: npm run prettier
- Build the python backend, then go back to
appUIdir. - Build Electron app installer:
npm run build
See notes on Release.
Yields installer .\releases\VLizard_$VERSION.exe.
Portable app is also available in .\releases\win-unpacked\ as a byproduct of the installer build process, but it is not distributed.
See separate document that describes both supported targets (flatpak, .tar.xz).
N/A, TODO.