diff --git a/main.sh b/main.sh index 2ab83ff..18b3576 100644 --- a/main.sh +++ b/main.sh @@ -186,17 +186,8 @@ game_update_option() { show_file project read -rp "请输入项目地址: " project - if [ -z "$project" ]; then - echo -e "${red}项目地址不能为空,请重新输入${NC}" - return - fi - show_file package read -rp "请输入包名(不需要带文件后缀): " package - if [ -z "$package" ]; then - echo -e "${red}包名不能为空,请重新输入${NC}" - return - fi echo -e "开始执行操作 项目:$project, 包名:$package" if [ "$send_to" = "txt" ]; then