chore: align install flow with latest OpenClaw and remove marketing copy

This commit is contained in:
2026-03-09 21:26:40 +08:00
parent 966f7e0ac8
commit 2007545b1d
4 changed files with 105 additions and 448 deletions

View File

@@ -70,16 +70,12 @@ else
fi
# ─────────────────────────────────────────────
# 步骤 2: 安装 OpenClaw
# 步骤 2: 安装 / 更新 OpenClaw
# ─────────────────────────────────────────────
info "正在安装 OpenClaw..."
info "正在安装 / 更新 OpenClaw..."
if command -v openclaw &>/dev/null; then
success "OpenClaw 安装。"
else
curl -fsSL https://openclaw.ai/install.sh | bash -s -- --no-onboard
success "OpenClaw 安装完成。"
fi
curl -fsSL https://openclaw.ai/install.sh | bash -s -- --no-onboard
success "OpenClaw 安装 / 更新完成。"
# 确保 openclaw 在 PATH 中
export PATH="$HOME/.openclaw/bin:$PATH"
@@ -96,12 +92,8 @@ echo -e "${GREEN}${BOLD}========================================${NC}"
echo -e "${GREEN}${BOLD} OpenClaw 安装完成!开始配置...${NC}"
echo -e "${GREEN}${BOLD}========================================${NC}"
echo ""
echo -e " ${BOLD}提示:${NC}当配置向导要求选择服务商时,"
echo -e " 选择 ${BOLD}MiniMax${NC} 可获得 ${BOLD}7天免费试用${NC} — 无需信用卡。"
echo -e " 注册地址:${BLUE}https://platform.minimax.io${NC}"
echo ""
openclaw onboard --accept-risk --flow quickstart --node-manager npm --skip-skills < /dev/tty
openclaw onboard --accept-risk --flow quickstart --install-daemon --node-manager npm --skip-skills < /dev/tty
echo ""
echo -e "${GREEN}${BOLD}========================================${NC}"