mirror of
https://github.com/bin456789/reinstall.git
synced 2026-10-04 22:47:45 +08:00
windows: 更新 ntriver 网址
This commit is contained in:
+1
-1
@@ -1771,7 +1771,7 @@ Continue?
|
|||||||
info "get direct link"
|
info "get direct link"
|
||||||
local iso_name=${iso##*\?}
|
local iso_name=${iso##*\?}
|
||||||
local direct_link
|
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
|
grep -oE '"url":"[^"]+"' | cut -d: -f2- | tr -d '"' | grep .); then
|
||||||
echo "Direct link: $direct_link" >&2
|
echo "Direct link: $direct_link" >&2
|
||||||
iso="$direct_link"
|
iso="$direct_link"
|
||||||
|
|||||||
Reference in New Issue
Block a user