From 6b3a341b4bb5c0b93f25cc0a0518e9bd5088504b Mon Sep 17 00:00:00 2001 From: bin456789 Date: Mon, 24 Aug 2026 23:01:43 +0800 Subject: [PATCH] =?UTF-8?q?windows:=20=E6=9B=B4=E6=96=B0=20ntriver=20?= =?UTF-8?q?=E9=93=BE=E6=8E=A5=E6=A0=BC=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- reinstall.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reinstall.sh b/reinstall.sh index f3f69ca..68dcd8a 100644 --- a/reinstall.sh +++ b/reinstall.sh @@ -1722,9 +1722,9 @@ Continue? if false && test_url_grace "$iso" iso 2>/dev/null; then iso_is_tested=true iso_is_direct_link=true - elif [[ $(echo "$iso" | to_lower) =~ ^https://ntriver.org/drive/.*\.(iso|img)$ ]]; then + elif [[ $(echo "$iso" | to_lower) =~ ^https://ntriver.org/drive\?.*\.(iso|img)$ ]]; then info "get direct link" - local iso_name=${iso##*/} + local iso_name=${iso##*\?} local direct_link if direct_link=$(curl -L "https://delivery-api.ntriver.org/generate-link?filename=$iso_name" | grep -oE '"url":"[^"]+"' | cut -d: -f2- | tr -d '"' | grep .); then