# 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: 1. **Start the Web App** (in a separate terminal): ```bash cd apps/web npm run dev ``` 2. **Start the Desktop Wrapper**: ```bash cd veza-desktop npm run dev:main ``` This will launch the Electron window loading `http://localhost:5173`. ## Building To build the desktop application: 1. **Build the Web App**: ```bash cd apps/web npm run build ``` Ensure the output `dist` is accessible (the wrapper expects `../apps/web/dist` or similar integration in CI/CD). 2. **Build the Desktop App**: ```bash cd veza-desktop npm run build npm run dist ```