forked from Light-Heart-Labs/DreamServer
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinstall.ps1
More file actions
33 lines (28 loc) · 1019 Bytes
/
install.ps1
File metadata and controls
33 lines (28 loc) · 1019 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Dream Server Root Installer (Windows)
# Delegates to dream-server/installers/windows/install-windows.ps1
param(
[switch]$DryRun,
[switch]$Force,
[switch]$NonInteractive,
[string]$Tier = "",
[switch]$Voice,
[switch]$Workflows,
[switch]$Rag,
[switch]$OpenClaw,
[switch]$All,
[switch]$Cloud,
[string]$SummaryJsonPath = ""
)
$ErrorActionPreference = "Stop"
$ScriptDir = Split-Path -Parent $MyInvocation.MyCommand.Path
Write-Host "Dream Server Installer" -ForegroundColor Cyan
Write-Host ""
# Delegate to Windows installer
$DreamServerInstaller = Join-Path (Join-Path (Join-Path $ScriptDir "dream-server") "installers") "windows" | Join-Path -ChildPath "install-windows.ps1"
if (-not (Test-Path $DreamServerInstaller)) {
Write-Host "Error: Windows installer not found" -ForegroundColor Red
Write-Host "Expected: $DreamServerInstaller" -ForegroundColor Red
exit 1
}
# Forward all bound parameters to the real installer
& $DreamServerInstaller @PSBoundParameters