修复:curl | bash 时交互式提示无法工作的问题

添加 < /dev/tty 重定向 stdin 到终端,使 openclaw onboard
的交互式提示在通过 curl | bash 运行时也能正常工作。

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
Rick Mu
2026-02-13 14:07:29 +11:00
parent 7784983d1a
commit 45f3c0f66b
2 changed files with 2 additions and 2 deletions

View File

@@ -101,7 +101,7 @@ 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
openclaw onboard --accept-risk --flow quickstart --node-manager npm --skip-skills < /dev/tty
echo ""
echo -e "${GREEN}${BOLD}========================================${NC}"