From b9f54395190114a4b4ddabd9030478bb5b20ba90 Mon Sep 17 00:00:00 2001 From: Leon <62660101+Oreomeow@users.noreply.github.com> Date: Mon, 2 Aug 2021 11:03:45 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A8Fix?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Scripts/sh/1custom.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Scripts/sh/1custom.sh b/Scripts/sh/1custom.sh index 5d1ac7f..6df0efb 100644 --- a/Scripts/sh/1custom.sh +++ b/Scripts/sh/1custom.sh @@ -215,19 +215,19 @@ set_bot_json(){ sed -i "s/456423156/${api_id}/" $bot_json sed -i "s/ASDFAWEFADSFAWEFDSFASFD/${api_hash}/" $bot_json } -# 再运行一次 ql bot -run_ql_bot(){ - ql bot +# 重启 +ql_restart(){ + ql restart } if [ "${all}" = 1 ]; then - add_ql_bot && set_bot_json && run_ql_bot + add_ql_bot && set_bot_json && ql_restart else case ${bot} in 0) echo "已为您跳过 bot 操作" ;; 1) add_ql_bot ;; - 2) add_ql_bot && set_bot_json && run_ql_bot + 2) add_ql_bot && set_bot_json && ql_restart esac fi