From 7417617ce6325411e5d1c279a1e640642c942393 Mon Sep 17 00:00:00 2001 From: "PC-202302260912\\Administrator" <1769111741@qq.com> Date: Wed, 6 Dec 2023 17:54:02 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=BB=E6=96=87=E4=BB=B6=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=E5=B8=83=E5=B1=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/main.sh b/main.sh index a626721..6cc0546 100644 --- a/main.sh +++ b/main.sh @@ -231,8 +231,8 @@ game_update_option() { game_code_build(){ local type=$1 local script=$2 - # shellcheck disable=SC2154 - local current_time=${get_current_time} + # shellcheck disable=SC2155 + local current_time=$(get_current_time) show_file project | grep master read -rp "请输入项目地址: " project bash "${script}" "${project}" "${project}_${type}_${current_time}" @@ -384,9 +384,9 @@ update_mingan(){ # 处理用户输入 handle_menu() { local current_time - current_time=${get_current_time} + current_time=$(get_current_time) echo -e "${blue}****************************${NC}" - echo -e "${yellow}欢迎使用戒灵更新脚本...${current_time}${NC}" + echo -e "${purple}欢迎使用戒灵更新脚本...${current_time}${NC}" echo -e "1.游戏服更新" echo -e "2.gm后台更新" echo -e "3.登陆服更新"