From 3f39be82c4a3780c9aff11af1ae4e9982c690ea3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E5=B0=8F=E5=B0=8F=E7=8C=AB=E4=BB=94?= Date: Fri, 6 Feb 2026 13:28:38 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=80=E4=B8=AA=E7=AD=89=E5=8F=B7=E5=BC=95?= =?UTF-8?q?=E5=8F=91=E7=9A=84=E8=A1=80=E6=A1=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 去掉了那个【=】 --- scripts/libs/web_get.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/libs/web_get.sh b/scripts/libs/web_get.sh index 47af4b8c..620492b4 100644 --- a/scripts/libs/web_get.sh +++ b/scripts/libs/web_get.sh @@ -69,7 +69,7 @@ webget(){ #参数【$1】代表下载目录,【$2】代表在线地址 #参数【$3】代表输出显示,【$4】不启用重定向 #参数【$5】代表验证证书,【$6】使用自定义UA - [ -n "$6" ] && agent="--user-agent=$6" + [ -n "$6" ] && agent="--user-agent $6" if wget --help 2>&1 | grep -q 'show-progress' >/dev/null 2>&1; then [ "$3" = "echooff" ] && progress='-q' || progress='-q --show-progress' [ "$4" = "rediroff" ] && redirect='--max-redirect=0' || redirect=''