From e0170a031009d5ad172c4f1d83d3cac726a98f40 Mon Sep 17 00:00:00 2001 From: juewuy Date: Sun, 7 Dec 2025 22:19:15 +0800 Subject: [PATCH] =?UTF-8?q?~=E4=BC=98=E5=8C=966-3=E9=98=B2=E6=AD=A2?= =?UTF-8?q?=E8=BE=93=E5=85=A5=E7=A9=BA=E6=A0=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/webget.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/webget.sh b/scripts/webget.sh index 7367e91..b335c45 100644 --- a/scripts/webget.sh +++ b/scripts/webget.sh @@ -620,8 +620,10 @@ setproviders(){ #自定义providers echo -e "本地配置文件请放在\033[32m$CRASHDIR\033[0m目录下,并填写相对路径如【\033[32m./providers/test.yaml\033[0m】" echo ----------------------------------------------- read -p "请输入providers订阅地址或本地相对路径 > " link + link=$(${link// /}) [ -n "$(echo $link | grep -E '.*\..*|^\./')" ] && { read -p "请输入代理服务商的名称或者代号(不可重复) > " name + name=$(${name// /}) [ -n "$name" ] && [ -z "$(grep "name" $CRASHDIR/configs/providers.cfg)" ] && { echo ----------------------------------------------- echo -e "代理服务商:\033[36m$name\033[0m"