Files
zclaw_openfang/start-saas.ps1
iven 5fdf96c3f5 chore: 提交所有工作进度 — SaaS 后端增强、Admin UI、桌面端集成
包含大量 SaaS 平台改进、Admin 管理后台更新、桌面端集成完善、
文档同步、测试文件重构等内容。为 QA 测试准备干净工作树。
2026-03-29 10:46:41 +08:00

12 lines
405 B
PowerShell

$env:ZCLAW_DATABASE_URL = "postgres://postgres:123123@localhost:5432/zclaw"
$env:RUST_LOG = "info"
$proc = Start-Process -FilePath "target\debug\zclaw-saas.exe" -PassThru -WindowStyle Minimized
Start-Sleep -Seconds 3
if ($proc.HasExited) {
Write-Host "[ERROR] zclaw-saas exited with code: $($proc.ExitCode)"
exit 1
} else {
Write-Host "[OK] zclaw-saas started (PID: $($proc.Id))"
exit 0
}