Release 0.4.5: installer DB wizard, credential key, lean offline Setup.

Choose bundled or external PostgreSQL in the Setup wizard with connection
validation; optional NETX_CREDENTIAL_SECRET_KEY; single desktop shortcut;
faster uninstall and tray startup for offline Windows packages.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
oliver 2026-10-07 14:44:40 +08:00
parent 86dfd41f44
commit 97393cd407
20 changed files with 1531 additions and 146 deletions

View file

@ -1,4 +1,4 @@
param(
param(
[string]$BindHost = "127.0.0.1",
[int]$Port = 8890,
[int]$WebPort = 5173,
@ -260,7 +260,11 @@ if ($Background) {
Show-LogTail -Path $logFile
exit 1
}
$healthWaitSec = 45
# Fresh installs run Alembic upgrades on first boot; 45s is often too short.
$healthWaitSec = 180
if ($env:NETX_START_HEALTH_WAIT_SEC) {
try { $healthWaitSec = [int]$env:NETX_START_HEALTH_WAIT_SEC } catch {}
}
if (-not (Test-NetxApiListening -HostName $BindHost -LocalPort $Port -WaitSec $healthWaitSec)) {
Write-Host "[ERR] Port $Port not listening /health not OK within ${healthWaitSec}s (process may be stuck on DB or schema migration)." -ForegroundColor Red
Show-LogTail -Path $errFile