主文件修改布局

main
PC-202302260912\Administrator 2023-12-06 17:48:35 +08:00
parent 8475163fd6
commit 411ee60454
1 changed files with 3 additions and 2 deletions

View File

@ -212,7 +212,6 @@ update_game(){
game_update_option() {
echo -e "${yellow}游戏服更新开始...${NC}"
local action=$1
local current_time=get_current_time
case $action in
"create_update_package") game_code_build "update" "update_game.sh" ;;
"official_reboot") game_code_official "update" "1" ;;
@ -232,6 +231,8 @@ game_update_option() {
game_code_build(){
local type=$1
local script=$2
# shellcheck disable=SC2154
local current_time=${get_current_time}
show_file project | grep master
read -rp "请输入项目地址: " project
bash "${script}" "${project}" "${project}_${type}_${current_time}"
@ -382,7 +383,7 @@ update_mingan(){
# 处理用户输入
handle_menu() {
local current_time=get_current_time
local current_time=${get_current_time}
echo -e "****************************"
echo -e "${blue}欢迎使用戒灵更新脚本-${current_time}${NC}"
echo -e "1. ${yellow}游戏服更新${NC}"