From 63272eae837c55949067758ce1a0ff4c05876e07 Mon Sep 17 00:00:00 2001 From: libm Date: Sat, 7 Jun 2025 00:58:24 +0800 Subject: [PATCH] fix: update user-agent value to fix #148 --- script/common.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/common.sh b/script/common.sh index d120dec..8cecf5d 100644 --- a/script/common.sh +++ b/script/common.sh @@ -282,7 +282,7 @@ _download_clash() { _download_raw_config() { local dest=$1 local url=$2 - local agent='Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:130.0) Gecko/20100101 Firefox/130.0' + local agent='clash-verge/v2.0.4' sudo curl \ --silent \ --show-error \