mirror of
https://github.com/hansjone/oclaw.git
synced 2026-10-09 01:50:44 +08:00
本次迁移将网关/通道/工具/技能/脚本与协议资源集中到新结构,统一路径常量与脚本转发机制,减少顶层噪音并保证运行与测试行为一致。 Made-with: Cursor
20 lines
721 B
PowerShell
20 lines
721 B
PowerShell
param(
|
|
[string]$BindHost = "127.0.0.1",
|
|
[int]$Port = 8787,
|
|
[switch]$SkipInstall = $false,
|
|
[switch]$Background = $false,
|
|
[switch]$WithWeixin = $false,
|
|
[switch]$WithWikiWorker = $false,
|
|
[string]$WeixinChannelId = "oclaw-weixin",
|
|
[string]$WeixinGatewayBaseUrl = ""
|
|
)
|
|
|
|
$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 -WithWeixin:$WithWeixin -WithWikiWorker:$WithWikiWorker -WeixinChannelId $WeixinChannelId -WeixinGatewayBaseUrl $WeixinGatewayBaseUrl
|
|
|