Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 15 additions & 2 deletions apps/memos-local-openclaw/install.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -361,5 +361,18 @@ if (-not (Test-Path $ExtensionDir)) {

Update-OpenClawConfig -OpenClawHome $OpenClawHome -ConfigPath $OpenClawConfigPath -PluginId $PluginId -InstallPath $ExtensionDir -Spec $PackageSpec

Write-Success "Restarting OpenClaw Gateway..."
& npx openclaw gateway run --port $Port --force
Write-Info "Installing OpenClaw Gateway service..."
& npx openclaw gateway install --port $Port --force 2>&1
if (-not $?) { Write-Warn "Gateway service install returned a warning; continuing..." }

Write-Success "Starting OpenClaw Gateway service..."
& npx openclaw gateway start 2>&1

Write-Host ""
Write-Success "=========================================="
Write-Success " Installation complete!"
Write-Success "=========================================="
Write-Host ""
Write-Info " OpenClaw Web UI: http://localhost:$Port"
Write-Info " Memory Viewer: http://localhost:18799"
Write-Host ""
16 changes: 14 additions & 2 deletions apps/memos-local-openclaw/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -360,5 +360,17 @@ fi

update_openclaw_config

success "Restart OpenClaw Gateway, 重启 OpenClaw Gateway..."
exec npx openclaw gateway run --port "${PORT}" --force
info "Install OpenClaw Gateway service, 安装 OpenClaw Gateway 服务..."
npx openclaw gateway install --port "${PORT}" --force 2>&1 || true

success "Start OpenClaw Gateway service, 启动 OpenClaw Gateway 服务..."
npx openclaw gateway start 2>&1

echo ""
success "=========================================="
success " Installation complete! 安装完成!"
success "=========================================="
echo ""
info " OpenClaw Web UI: http://localhost:${PORT}"
info " Memory Viewer: http://localhost:18799"
echo ""
Loading