main
PC-202302260912\Administrator 2023-08-02 16:25:14 +08:00
parent b2694d90e6
commit 0eb440a97d
2 changed files with 15 additions and 5 deletions

18
main.sh
View File

@ -184,10 +184,22 @@ game_update_option() {
echo -e "${yellow}$action_desc${NC}"
echo "=============================="
show_file project
read -rp "请输入项目地址: " project
# 项目属性
if [ $action = "update" ] || [ $action = "hotfix" ]; then
show_file project
read -rp "${yellow}请输入项目地址: ${NC}" project
if [ -z "$project" ]; then
echo -e "${red}项目地址不能为空,请重新输入${NC}"
return
fi
fi
# 包属性
show_file package
read -rp "请输入包名(不需要带文件后缀): " package
read -rp "${yellow}请输入包名(不需要带文件后缀): ${NC}" package
if [ -z "$package" ]; then
echo -e "${red}包名不能为空,请重新输入${NC}"
return
fi
echo -e "开始执行操作 项目:$project, 包名:$package"
if [ "$send_to" = "txt" ]; then

View File

@ -66,8 +66,6 @@ cd ${BASE_DIR}/fighting || exit
svn up
cd ${BASE_DIR}/data_excel || exit
#echo "当前分支是: `git branch`"
#git pull
svn up
cd ${BASE_DIR}/execl_to_txt || exit
java -Dfile.encoding=UTF-8 -Djava.ext.dirs=./lib ExcelUtils