From c8b8e5a01cea3d34cccf19bbe44e3da4497dce66 Mon Sep 17 00:00:00 2001 From: Leon Date: Fri, 6 Aug 2021 20:25:06 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=97=A1=F0=9F=94=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Scripts/sh/ql.sh | 2 +- Scripts/sh/v4.sh | 5 +---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/Scripts/sh/ql.sh b/Scripts/sh/ql.sh index fcde95b..0220a42 100644 --- a/Scripts/sh/ql.sh +++ b/Scripts/sh/ql.sh @@ -28,8 +28,8 @@ HAS_CONTAINER=false DEL_CONTAINER=true INSTALL_WATCH=false INSTALL_NINJA=true -ENABLE_WEB_PANEL=true ENABLE_HANGUP=true +ENABLE_WEB_PANEL=true OLD_IMAGE_ID="" ENABLE_HANGUP_ENV="--env ENABLE_HANGUP=true" ENABLE_WEB_PANEL_ENV="--env ENABLE_WEB_PANEL=true" diff --git a/Scripts/sh/v4.sh b/Scripts/sh/v4.sh index 563a211..51093df 100644 --- a/Scripts/sh/v4.sh +++ b/Scripts/sh/v4.sh @@ -19,8 +19,6 @@ DOCKER_IMG_NAME="annyooo/jd" JD_PATH="" SHELL_FOLDER=$(pwd) CONTAINER_NAME="" -CONFIG_PATH="" -LOG_PATH="" TAG="v4_bot" NETWORK="host" JD_PORT=5678 @@ -31,7 +29,6 @@ PULL_IMAGE=true HAS_CONTAINER=false DEL_CONTAINER=true INSTALL_WATCH=false -TEST_BEAN_CHAGE=false ENABLE_WEB_PANEL=true ENABLE_HANGUP=true OLD_IMAGE_ID="" @@ -55,7 +52,7 @@ warn() { cancelrun() { if [ $# -gt 0 ]; then - echo "\e[31m $1 \e[0m" + echo -e "\e[31m $1 \e[0m" fi exit 1 }