From 683828d60b47211aba653f6350a0a9359429381f Mon Sep 17 00:00:00 2001 From: bin456789 Date: Tue, 9 Jun 2026 23:08:15 +0800 Subject: [PATCH] =?UTF-8?q?core:=20=E4=BF=AE=E5=A4=8D=E8=BD=AC=E6=8D=A2?= =?UTF-8?q?=E4=B8=BA=20daocloud=20=E9=93=BE=E6=8E=A5=E6=97=B6=E5=87=BA?= =?UTF-8?q?=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- trans.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trans.sh b/trans.sh index 41b3600..f6b0460 100644 --- a/trans.sh +++ b/trans.sh @@ -245,7 +245,7 @@ download() { if ! aria2c "$url" "$@" && ! { $can_use_cn_mirror && is_in_china && is_any_ipv4_has_internet && - url_cn=https://files.m.daocloud.io/$(echo "$url" | sed -Ei 's,^https?://,,') && + url_cn=https://files.m.daocloud.io/$(echo "$url" | sed -E 's,^https?://,,i') && aria2c "$url_cn" "$@"; }; then error_and_exit "Failed to download $url" fi