mirror of
https://github.com/hansjone/oclaw.git
synced 2026-10-09 05:50:44 +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>
31 lines
942 B
PowerShell
31 lines
942 B
PowerShell
param(
|
|
[string]$BindHost = "127.0.0.1",
|
|
[int]$Port = 8787,
|
|
[switch]$SkipInstall = $false,
|
|
[switch]$Background = $false,
|
|
[switch]$WithoutWeixin = $false,
|
|
[switch]$WithoutWhatsApp = $false,
|
|
[bool]$WithWikiWorker = $true,
|
|
[string]$WeixinChannelId = "oclaw-weixin",
|
|
[string]$WeixinGatewayBaseUrl = "",
|
|
[string]$WhatsAppChannelId = "whatsapp"
|
|
)
|
|
|
|
$ErrorActionPreference = "Stop"
|
|
|
|
$real = Join-Path $PSScriptRoot "..\\runtime\\operations\\scripts\\start_all.ps1"
|
|
if (-not (Test-Path $real)) {
|
|
throw "Forward script target not found: $real"
|
|
}
|
|
|
|
& $real `
|
|
-BindHost $BindHost `
|
|
-Port $Port `
|
|
-SkipInstall:$SkipInstall `
|
|
-Background:$Background `
|
|
-WithoutWeixin:$WithoutWeixin `
|
|
-WithoutWhatsApp:$WithoutWhatsApp `
|
|
-WithWikiWorker:$WithWikiWorker `
|
|
-WeixinChannelId $WeixinChannelId `
|
|
-WeixinGatewayBaseUrl $WeixinGatewayBaseUrl `
|
|
-WhatsAppChannelId $WhatsAppChannelId
|