diff --git a/main.sh b/main.sh index 715be4a..edfbe68 100644 --- a/main.sh +++ b/main.sh @@ -187,7 +187,8 @@ game_update_option() { # 项目属性 if [ $action = "update" ] || [ $action = "hotfix" ]; then show_file project - read -rp "${yellow}请输入项目地址: ${NC}" project + echo -e "${blue}==============================${NC}" + read -rp "请输入项目地址: " project if [ -z "$project" ]; then echo -e "${red}项目地址不能为空,请重新输入${NC}" return @@ -195,7 +196,8 @@ game_update_option() { fi # 包属性 show_file package - read -rp "${yellow}请输入包名(不需要带文件后缀): ${NC}" package + echo -e "${blue}==============================${NC}" + read -rp "请输入包名(不需要带文件后缀):" package if [ -z "$package" ]; then echo -e "${red}包名不能为空,请重新输入${NC}" return