diff --git a/setup.sh b/setup.sh index adfdb82..753165f 100755 --- a/setup.sh +++ b/setup.sh @@ -170,6 +170,9 @@ show_status() { echo -e "${CYAN} XCodeCLI Setup Launcher${NC}" echo -e "${CYAN}========================================${NC}" echo "" + echo -e "获取 API 密钥: ${CYAN}https://api2.xcodecli.com/console/token${NC}" + echo -e "步骤: 添加令牌 → 输入令牌名称 → 提交" + echo "" echo -e "${YELLOW}工具安装状态:${NC}" echo "" @@ -243,9 +246,6 @@ main() { if [[ -z "$api_key" ]]; then echo "" echo -e "${YELLOW}请输入 API 密钥:${NC}" - echo -e " 获取地址: ${CYAN}https://api2.xcodecli.com/console/token${NC}" - echo -e " 步骤: 添加令牌 → 输入令牌名称 → 提交" - echo "" read -r api_key if [[ -z "$api_key" ]]; then error "API 密钥不能为空"