From f2387acb098a7a5106995dfabad6d50b44711891 Mon Sep 17 00:00:00 2001 From: grimm <1769111741@qq.com> Date: Thu, 18 Jul 2024 15:10:51 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=B6=E7=A9=BA=E8=84=9A=E6=9C=AC=E4=BC=98?= =?UTF-8?q?=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- shikong_main.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/shikong_main.sh b/shikong_main.sh index de2ecab..55b4994 100644 --- a/shikong_main.sh +++ b/shikong_main.sh @@ -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" ;;