fix(install): 修复 Windows 安装时下载卡住的 bug

- install.ps1: 修复镜像 URL 拼接错误($BUNDLE_URL 已含完整域名导致双重 https://)
- install.ps1: 替换失效镜像(gh-proxy.com/mirror.ghproxy.com),改用实测可用的 ghproxy.net 和 gh.idayer.com
- install.ps1: curl fallback 同步修正 URL,加 --retry 2
- install.ps1: 下载失败时打印手动下载地址,便于用户自助
- install.ps1: 修正步骤编号跳号问题 [1/7]~[7/7] → [1/6]~[6/6](实际共 6 步)
- install.sh: 同步 Node.js 版本 v22.14.0 → v22.16.0,与 Windows 版保持一致

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
hfshfg
2026-03-31 19:59:56 +08:00
parent 5b5ffd03bf
commit 1c459edb24
2 changed files with 40 additions and 22 deletions

View File

@@ -22,7 +22,7 @@ RUNTIME_DIR="$UCLAW_DIR/runtime"
CORE_DIR="$UCLAW_DIR/core"
DATA_DIR="$UCLAW_DIR/data"
CONFIG_PATH="$DATA_DIR/.openclaw/openclaw.json"
NODE_VERSION="v22.14.0"
NODE_VERSION="v22.16.0"
MIRROR="https://registry.npmmirror.com"
NODE_MIRROR="https://npmmirror.com/mirrors/node"