From 3b7ba0b4f591bf272d2b29e8d28f72d7de618db6 Mon Sep 17 00:00:00 2001 From: Leon Date: Sun, 15 Aug 2021 17:30:03 +0800 Subject: [PATCH] =?UTF-8?q?=E2=9A=94=F0=9F=94=A8Simplify?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Scripts/sh/1.sh | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/Scripts/sh/1.sh b/Scripts/sh/1.sh index 53fbcc9..6d8e904 100644 --- a/Scripts/sh/1.sh +++ b/Scripts/sh/1.sh @@ -46,7 +46,7 @@ docker_install() { } 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(){ @@ -67,17 +67,13 @@ inp "选择你想部署的 docker 项目:\n1) qinglong\n2) V4\n3) elecV2P\n4) opt read option case $option in - 1) project="ql" - Onekey + 1) Onekey "ql" ;; - 2) project="v4" - Onekey + 2) Onekey "v4" ;; - 3) project="v2p" - Onekey + 3) Onekey "v2p" ;; - 4) project="hhl" - Onekey + 4) Onekey "hhl" ;; 5) INSTALL_JS_TOOL ;;