fix: Mac-Start.command 重写 + Node.js 升级到 v22.22.1

Mac-Start.command:
- 用 config-server (18788端口) 替代 python3 读取 token 和打开 Config.html
- 去掉 python3 依赖(HAS_MODEL 检测、token 读取)
- 启动后同时打开 Dashboard 和 Config Center
- 退出时自动清理 gateway 和 config-server 进程
- 对齐 Windows-Start.bat 和 G 盘 Pro 版的架构

setup.sh:
- Node.js v22.14.0 → v22.22.1(满足 openclaw >=22.16.0 要求)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
hfshfg
2026-03-20 10:49:40 +08:00
parent 6569bcddf6
commit fc9e20125d
2 changed files with 51 additions and 73 deletions

View File

@@ -13,7 +13,7 @@ CORE_DIR="$APP_DIR/core"
RUNTIME_DIR="$APP_DIR/runtime"
MIRROR="https://registry.npmmirror.com"
NODE_MIRROR="https://npmmirror.com/mirrors/node"
NODE_VERSION="v22.14.0"
NODE_VERSION="v22.22.1"
ALL_PLATFORMS=false
[ "$1" = "--all-platforms" ] && ALL_PLATFORMS=true