veza/veza-desktop
2025-12-08 19:57:54 +01:00
..
electron report generation and future tasks selection 2025-12-08 19:57:54 +01:00
scripts adding initial veza-rust-common, veza-docs, veza-desktop, veza-mobile 2025-12-03 22:29:57 +01:00
tests/e2e adding initial veza-rust-common, veza-docs, veza-desktop, veza-mobile 2025-12-03 22:29:57 +01:00
index.html adding initial veza-rust-common, veza-docs, veza-desktop, veza-mobile 2025-12-03 22:29:57 +01:00
lighthouse.config.js adding initial veza-rust-common, veza-docs, veza-desktop, veza-mobile 2025-12-03 22:29:57 +01:00
package-lock.json report generation and future tasks selection 2025-12-08 19:57:54 +01:00
package.json report generation and future tasks selection 2025-12-08 19:57:54 +01:00
README.md report generation and future tasks selection 2025-12-08 19:57:54 +01:00
tsconfig.main.json report generation and future tasks selection 2025-12-08 19:57:54 +01:00
validate-frontend-complete.sh adding initial veza-rust-common, veza-docs, veza-desktop, veza-mobile 2025-12-03 22:29:57 +01:00
vite.config.ts adding initial veza-rust-common, veza-docs, veza-desktop, veza-mobile 2025-12-03 22:29:57 +01:00

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):

    cd apps/web
    npm run dev
    
  2. Start the Desktop Wrapper:

    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:

    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:

    cd veza-desktop
    npm run build
    npm run dist