From 8dc90595bc54b3060c0397b7e2cceb5566110e98 Mon Sep 17 00:00:00 2001 From: juewuy Date: Fri, 8 Mar 2024 10:16:56 +0800 Subject: [PATCH] =?UTF-8?q?~=E4=BF=AE=E6=94=B9=E9=85=8D=E7=BD=AE=E6=96=87?= =?UTF-8?q?=E4=BB=B6=E6=A3=80=E6=B5=8B=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/start.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/scripts/start.sh b/scripts/start.sh index 8964eb8..b8b7367 100644 --- a/scripts/start.sh +++ b/scripts/start.sh @@ -319,7 +319,11 @@ get_core_config(){ #下载内核配置文件 fi else Https="" - [ "$crashcore" = singbox -o "$crashcore" = singboxp ] && check_singbox_config || check_clash_config + if [ "$crashcore" = singbox -o "$crashcore" = singboxp ];then + check_singbox_config + else + check_clash_config + fi #如果不同则备份并替换文件 if [ -s $core_config ];then compare $core_config_new $core_config