修改布局

main
PC-202302260912\Administrator 2023-12-07 10:17:16 +08:00
parent c3eb10c9c9
commit 3736d9ed93
1 changed files with 5 additions and 1 deletions

View File

@ -94,9 +94,11 @@ restart_server() {
restart_script="supervisorctl restart all"
;;
"coreStop")
server_name=core1
restart_script="bash /data/jieling/server/bin/stop.sh core1"
;;
"coreStart")
server_name=core1
restart_script="bash /data/jieling/server/bin/start.sh core1"
;;
*)
@ -236,7 +238,9 @@ game_code_build(){
local current_time=$(get_current_time)
show_file project | grep master
read -rp "请输入项目地址: " project
bash "${script}" "${project}" "${project}_${type}_${current_time}"
local package="${project}_${type}_${current_time}"
echo -e "包名: $package"
bash "${script}" "${project}" "${package}"
}
# 游戏代码正式更新
game_code_official(){