From 47c733162383760d2697d33a37e61cf9c10ff6b7 Mon Sep 17 00:00:00 2001 From: juewuy Date: Sat, 4 Apr 2026 20:23:33 +0800 Subject: [PATCH] =?UTF-8?q?~=E9=A6=96=E6=AC=A1=E6=B7=BB=E5=8A=A0=E8=8A=82?= =?UTF-8?q?=E7=82=B9=E8=AE=A2=E9=98=85=E6=97=B6=EF=BC=8C=E4=B8=8D=E5=86=8D?= =?UTF-8?q?=E6=98=BE=E7=A4=BA=E7=94=9F=E6=88=90=E9=80=89=E9=A1=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/menus/6_core_config.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/menus/6_core_config.sh b/scripts/menus/6_core_config.sh index f2dca748..8be1b22f 100644 --- a/scripts/menus/6_core_config.sh +++ b/scripts/menus/6_core_config.sh @@ -143,9 +143,9 @@ setproviders() { content_line "d) $CORECFG_DEL_PROVIDER" content_line "" content_line "\033[36m$CORECFG_MORE_CONFIG_HINT\033[0m" - [ -n "$link" ] && + [ -n "$2" ] && content_line "b) $CORECFG_GEN_LOCAL_ONE" - echo "$link$link_uri" | grep -q '://' && + echo "$2" | grep -q '://' && content_line "c) $CORECFG_GEN_ONLINE_ONE" echo "$link" | grep -q '^http' && content_line "e) $CORECFG_GET_ONLINE_DIRECT"