mirror of
https://github.com/hansjone/oclaw.git
synced 2026-10-08 23:33:16 +08:00
- Add desktop env for non-embedded gateway (OCLAW_DESKTOP_EMBED_BACKEND, base URL, skip channel). - Wire start_all/start_desktop to pass gateway URL when keeping existing gateway; fix root start_all flags. - Prefer electron.cmd for background desktop launch; admin static theme presets and chat boot timeouts. Co-authored-by: Cursor <cursoragent@cursor.com>
17 lines
558 B
PowerShell
17 lines
558 B
PowerShell
param(
|
|
[switch]$SkipInstall = $false,
|
|
[switch]$Background = $false,
|
|
[switch]$KeepExistingGateway = $false,
|
|
[string]$GatewayBaseUrl = "",
|
|
[bool]$WithWikiWorker = $true
|
|
)
|
|
|
|
$ErrorActionPreference = "Stop"
|
|
|
|
$real = Join-Path $PSScriptRoot "..\\runtime\\operations\\scripts\\start_desktop.ps1"
|
|
if (-not (Test-Path $real)) {
|
|
throw "Forward script target not found: $real"
|
|
}
|
|
|
|
& $real -SkipInstall:$SkipInstall -Background:$Background -KeepExistingGateway:$KeepExistingGateway -GatewayBaseUrl $GatewayBaseUrl -WithWikiWorker:$WithWikiWorker
|
|
|