windows: 修复链接变动导致无法自动查找 windows server 镜像
Some checks failed
运行主程序 / 运行主程序 (./reinstall.bat --debug --password 123@@@, windows-latest) (push) Has been cancelled
运行主程序 / 运行主程序 (sudo bash reinstall.sh --debug --password 123@@@, ubuntu-latest) (push) Has been cancelled
同步到 CNB / 同步到 CNB (push) Has been cancelled

This commit is contained in:
bin456789 2025-09-03 19:36:09 +08:00
parent 38a5cc3940
commit df2bda09dc
No known key found for this signature in database
GPG Key ID: EE301B386DE6C11B

View File

@ -992,7 +992,12 @@ get_windows_iso_link() {
label_vlsc=$(get_label_vlsc)
page=$(get_page)
page_url=https://massgrave.dev/windows_${page}_links
if [ "$page" = server ]; then
delimiter=-
else
delimiter=_
fi
page_url=https://massgrave.dev/windows${delimiter}${page}${delimiter}links
info "Find windows iso"
echo "Version: $version"