Commit Graph

10 Commits

Author SHA1 Message Date
4dcf1d6b3c feat: china-first openclaw install (npmmirror fallback to npmjs) 2026-03-09 22:18:52 +08:00
ff9383f597 feat: merge install/uninstall into one interactive entrypoint 2026-03-09 21:43:24 +08:00
126b19dd7a feat: add and align uninstall flow for newbie setup 2026-03-09 21:40:02 +08:00
da477378a7 feat: newbie-safe defaults (loopback/no channels/skills) and switch install links to gitea 2026-03-09 21:33:41 +08:00
2007545b1d chore: align install flow with latest OpenClaw and remove marketing copy 2026-03-09 21:26:40 +08:00
Rick Mu
966f7e0ac8 Add direct Git download+silent install fallback
When winget and choco are unavailable, download latest Git for
Windows 64-bit from GitHub releases and install silently with
/VERYSILENT flag. Only falls through to manual prompt if all
three methods fail.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-13 19:05:40 +11:00
Rick Mu
1a84adb97b Add Git install step before OpenClaw (fixes npm ENOENT spawn git)
OpenClaw npm dependencies require git. Add check/install via
winget or choco, with fallback to git-scm.com manual download.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-13 19:01:15 +11:00
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
Rick Mu
cde26a8f7f Fix: pause on error instead of closing PowerShell window
Replace exit 1 with Read-Host + return so users can read
the error message before the window closes.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-13 18:53:35 +11:00
Rick Mu
40983ec0ee Add English version of Windows install script
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-13 18:51:24 +11:00