main
PC-202302260912\Administrator 2023-08-02 16:27:14 +08:00
parent 0eb440a97d
commit 2daef8ffdd
1 changed files with 4 additions and 2 deletions

View File

@ -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