热更脚本修改

main
PC-202302260912\Administrator 2023-09-05 18:43:48 +08:00
parent 214785909b
commit 7f08821ba1
2 changed files with 4 additions and 4 deletions

View File

@ -109,9 +109,9 @@ cat ${BASE_DIR}/miduo_server/conf/c_database_version.json |awk -F':' '/tables/{p
cat ${BASE_DIR}/miduo_server/conf/hotfix.json |grep name|awk -F'"' '{print $4}'|xargs -i find ${BASE_DIR}/miduo_server/serverlogic/build -name "{}"|xargs -i cp {} ${BASE_DIR}/hotfix/conf/hotswap
tree hotfix
echo "cat miduo_server/conf/c_database_version.json"
echo "\n cat miduo_server/conf/c_database_version.json \n"
cat ${BASE_DIR}/miduo_server/conf/c_database_version.json
echo "cat miduo_server/conf/hotfix.json"
echo "\n cat miduo_server/conf/hotfix.json \n"
cat ${BASE_DIR}/miduo_server/conf/hotfix.json
cd ${BASE_DIR}/hotfix || exit

View File

@ -372,8 +372,8 @@ update_gm(){
1) gm_option "package" ;; # GM更新打包
2) gm_option "single_update" ;; # GM更新单机器更新
3) gm_option "batch_update" ;; # GM更新批量更新
4) gm_option "single_reboot" ;; # GM更新单机器重启
5) gm_option "batch_reboot" ;; # GM更新批量重启
# 4) gm_option "single_reboot" ;; # GM更新单机器重启
# 5) gm_option "batch_reboot" ;; # GM更新批量重启
0) return ;;
*) exit_script ;;
esac