1 KiB
1 KiB
Veza Desktop Wrapper
This project is a lightweight Electron wrapper for the main Veza web application (apps/web).
It does not contain any unique UI logic. It serves as a native shell to load the frontend.
Architecture
- Wrapper Strategy: Loads the web app URL or built files.
- Entry Point:
electron/main.ts - Frontend Source:
../apps/web
Development
To develop the desktop app:
-
Start the Web App (in a separate terminal):
cd apps/web npm run dev -
Start the Desktop Wrapper:
cd veza-desktop npm run dev:mainThis will launch the Electron window loading
http://localhost:5173.
Building
To build the desktop application:
-
Build the Web App:
cd apps/web npm run buildEnsure the output
distis accessible (the wrapper expects../apps/web/distor similar integration in CI/CD). -
Build the Desktop App:
cd veza-desktop npm run build npm run dist