🔨Simplify

This commit is contained in:
Leon 2021-08-15 17:30:03 +08:00
parent b925193fea
commit 3b7ba0b4f5

View File

@ -46,7 +46,7 @@ docker_install() {
} }
Onekey(){ Onekey(){
wget -q https://raw.githubusercontent.com/Oreomeow/VIP/main/Scripts/sh/${project}.sh -O ${project}.sh && bash ${project}.sh wget -q https://raw.githubusercontent.com/Oreomeow/VIP/main/Scripts/sh/$1.sh -O $1.sh && bash $1.sh
} }
INSTALL_JS_TOOL(){ INSTALL_JS_TOOL(){
@ -67,17 +67,13 @@ inp "选择你想部署的 docker 项目:\n1) qinglong\n2) V4\n3) elecV2P\n4)
opt opt
read option read option
case $option in case $option in
1) project="ql" 1) Onekey "ql"
Onekey
;; ;;
2) project="v4" 2) Onekey "v4"
Onekey
;; ;;
3) project="v2p" 3) Onekey "v2p"
Onekey
;; ;;
4) project="hhl" 4) Onekey "hhl"
Onekey
;; ;;
5) INSTALL_JS_TOOL 5) INSTALL_JS_TOOL
;; ;;