docs(desktop): update README

This commit is contained in:
CREDO23 2026-03-18 21:14:42 +02:00
parent 5361f4cf24
commit 0c3f8f0e7e

View file

@ -23,18 +23,8 @@ Two `.env` files control the build:
**`surfsense_web/.env`** — Next.js environment variables baked into the frontend at build time:
```
NEXT_PUBLIC_FASTAPI_BACKEND_URL=https://your-deployed-backend.com
NEXT_PUBLIC_ELECTRIC_URL=https://your-deployed-electric.com
NEXT_PUBLIC_ELECTRIC_AUTH_MODE=secure
```
**`surfsense_desktop/.env`** — Electron-specific configuration:
```
HOSTED_FRONTEND_URL=https://surfsense.net
```
Set these before building.
## Build & Package
@ -43,7 +33,7 @@ Set these before building.
```bash
cd ../surfsense_web
pnpm next build
pnpm build
```
**Step 2** — Compile Electron and prepare the standalone output: