Add Windows packaging with bundled UI and dual-mode PostgreSQL.

Ship installable releases via zip/Inno Setup with optional bundled Postgres, API-hosted SPA, manual update path, and CI workflow for future tag builds.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
oliver 2026-10-06 22:52:03 +08:00
parent 8bdaaaacbf
commit 477ec4b120
24 changed files with 1332 additions and 12 deletions

View file

@ -0,0 +1,17 @@
# Windows packaging — portable PostgreSQL binaries
Place an extracted EnterpriseDB Windows x64 PostgreSQL tree here as `pgsql/` so that:
```
packaging/postgres/pgsql/bin/pg_ctl.exe
packaging/postgres/pgsql/bin/initdb.exe
packaging/postgres/pgsql/bin/psql.exe
```
Do not commit the binaries. Use:
```powershell
powershell -ExecutionPolicy Bypass -File .\packaging\download_postgres.ps1
```
Bundled mode uses a separate data directory under the NetX **data root** (never under `pgsql/`), so upgrading the binary tree does not wipe the database.