windows: 更新 ntriver 网址

This commit is contained in:
bin456789
2026-09-16 17:51:39 +08:00
parent 5c697ad66f
commit 679eef36dd
+1 -1
View File
@@ -1771,7 +1771,7 @@ Continue?
info "get direct link"
local iso_name=${iso##*\?}
local direct_link
if direct_link=$(curl -L "https://delivery-api.ntriver.org/generate-link?filename=$iso_name" |
if direct_link=$(curl -L "https://ntriver.org/api/drive/generate-link?filename=$iso_name" |
grep -oE '"url":"[^"]+"' | cut -d: -f2- | tr -d '"' | grep .); then
echo "Direct link: $direct_link" >&2
iso="$direct_link"