提交 c7991537 authored 作者: Andy's avatar Andy

234

上级 7c71d1fe
...@@ -201,7 +201,7 @@ clone_branch() { ...@@ -201,7 +201,7 @@ clone_branch() {
done done
} }
fetch_git_svr() { fetch_git_platsvr() {
REPO_URL="git@git.wkwork.xyz:LaunchDeploy/wk_gameplat_svr.git" REPO_URL="git@git.wkwork.xyz:LaunchDeploy/wk_gameplat_svr.git"
BASE_DIR="./svr" BASE_DIR="./svr"
...@@ -222,7 +222,7 @@ fetch_git_svr() { ...@@ -222,7 +222,7 @@ fetch_git_svr() {
done done
} }
fetch_git_web() { fetch_git_platweb() {
REPO_URL="git@git.wkwork.xyz:LaunchDeploy/wk_gameplat_web.git" REPO_URL="git@git.wkwork.xyz:LaunchDeploy/wk_gameplat_web.git"
BASE_DIR="./web" BASE_DIR="./web"
...@@ -366,17 +366,18 @@ main() { ...@@ -366,17 +366,18 @@ main() {
echo_content "skyBlue" "============================" echo_content "skyBlue" "============================"
echo_content "skyBlue" " 主菜单 " echo_content "skyBlue" " 主菜单 "
echo_content "skyBlue" "============================" echo_content "skyBlue" "============================"
echo_content "skyBlue" "2) 测试 Git 账户" echo_content "skyBlue" "1) 测试 Git 账户"
echo_content "skyBlue" "3) 获取 Svr" echo_content "skyBlue" "2) 获取 Plat Svr"
echo_content "skyBlue" "4) 获取 Web" echo_content "skyBlue" "3) 获取 Plat Web"
echo_content "skyBlue" "4) 获取 Game Web"
echo_content "skyBlue" "5) 运行 Docker" echo_content "skyBlue" "5) 运行 Docker"
echo_content "skyBlue" "6) 运行 Game 服务" echo_content "skyBlue" "6) 运行 Server"
echo_content "skyBlue" "0) 退出" echo_content "skyBlue" "0) 退出"
echo_content "skyBlue" "============================" echo_content "skyBlue" "============================"
read -rp "请输入选项 [0-6]: " choice read -rp "请输入选项 [0-6]: " choice
case $choice in case $choice in
2) 1)
if check_git_account; then if check_git_account; then
echo "✅ SSH 连接正常" echo "✅ SSH 连接正常"
else else
...@@ -385,12 +386,16 @@ main() { ...@@ -385,12 +386,16 @@ main() {
fi fi
pause pause
;; ;;
2)
fetch_git_platsvr
pause
;;
3) 3)
fetch_git_svr fetch_git_platweb
pause pause
;; ;;
4) 4)
fetch_git_web fetch_git_gameweb
pause pause
;; ;;
5) 5)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论