Files
openclaw-setup-cn/install-windows-en.ps1
Rick Mu 5e9d63ae1a Fix PowerShell window closing: wrap in try/catch/finally
- Remove $ErrorActionPreference = "Stop" (caused unhandled exits)
- Write-Err now throws to outer catch (shows error, stays open)
- finally block always pauses with Read-Host before closing
- npm output piped through Write-Host to prevent stream errors

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-13 18:58:56 +11:00

6.4 KiB