时空脚本优化

main
grimm 2024-07-18 15:10:51 +08:00
parent 5d72b90407
commit f2387acb09
1 changed files with 3 additions and 3 deletions

View File

@ -86,7 +86,7 @@ server_build_update(){
echo -e "开始发送游戏包,文件:$source_tar/$package, 机器:$channel, 重启:$reboot"
case $code in
"logic")
"server")
if if_ip "$channel"; then
send_server_package $channel $package $source_tar $destination_dir
case $reboot in
@ -127,7 +127,7 @@ server_code_build(){
read -rp "请输入项目地址: " project
local package="${project}_${time}"
case $code in
"logic")
"server")
bash ./update_sk_logic.sh "$project" "$package"
;;
"world")
@ -213,7 +213,7 @@ main_menu() {
echo -e "${blue}************************************${NC}"
read -rp "请输入选项编号: " choice
case $choice in
1) game_server_option "logic" ;;
1) game_server_option "server" ;;
2) game_server_option "world" ;;
3) game_server_option "chat" ;;
4) normal_code_update "login" ;;