From e545b728b5aff9387ac0c0b8bef26174b9e7896d Mon Sep 17 00:00:00 2001 From: juewuy Date: Wed, 14 Jan 2026 19:09:39 +0800 Subject: [PATCH 1/2] =?UTF-8?q?~=E4=BF=AE=E5=A4=8D=E6=9C=AC=E5=9C=B0?= =?UTF-8?q?=E7=94=9F=E6=88=90=E9=85=8D=E7=BD=AE=E6=96=87=E4=BB=B6=E6=97=B6?= =?UTF-8?q?=E9=BB=98=E8=AE=A4=E6=A8=A1=E7=89=88=E6=8A=A5=E9=94=99=E7=9A=84?= =?UTF-8?q?bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/menus/6_core_config.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/menus/6_core_config.sh b/scripts/menus/6_core_config.sh index d41a913f..027566d1 100644 --- a/scripts/menus/6_core_config.sh +++ b/scripts/menus/6_core_config.sh @@ -372,13 +372,13 @@ EOF } } if [ -z "$(grep "provider_temp_${coretype}" "$CRASHDIR"/configs/ShellCrash.cfg)" ];then - provider_temp_file="$TMPDIR/$(sed -n "1 p" "$CRASHDIR"/configs/${coretype}_providers.list | awk '{print $2}')" + provider_temp_file="$(sed -n "1 p" "$CRASHDIR"/configs/${coretype}_providers.list | awk '{print $2}')" else provider_temp_file=$(grep "provider_temp_${coretype}" "$CRASHDIR"/configs/ShellCrash.cfg | awk -F '=' '{print $2}') fi echo "-----------------------------------------------" - if [ -s "$provider_temp_file" ];then - ln -sf "$provider_temp_file" "$TMPDIR"/provider_temp_file + if [ -s "$TMPDIR/$provider_temp_file" ];then + ln -sf "$TMPDIR/$provider_temp_file" "$TMPDIR"/provider_temp_file else echo -e "\033[33m正在获取在线模版!\033[0m" get_bin "$TMPDIR"/provider_temp_file "rules/${coretype}_providers/$provider_temp_file" From e3789ea1ce9b7438ace4d89470f851e37bf1b319 Mon Sep 17 00:00:00 2001 From: juewuy Date: Wed, 14 Jan 2026 19:24:58 +0800 Subject: [PATCH 2/2] =?UTF-8?q?~=E4=BF=AE=E5=A4=8D=E6=96=B0=E6=89=8B?= =?UTF-8?q?=E5=BC=95=E5=AF=BC=E6=AD=BB=E5=BE=AA=E7=8E=AF=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/menus/8_tools.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/menus/8_tools.sh b/scripts/menus/8_tools.sh index 25704d0f..72226b62 100644 --- a/scripts/menus/8_tools.sh +++ b/scripts/menus/8_tools.sh @@ -804,5 +804,5 @@ userguide(){ echo "-----------------------------------------------" read -p "立即启动服务?(1/0) > " res [ "$res" = 1 ] && start_core && sleep 2 - main_menu + return 0 }