From 4cf8e81fc796d0f486b2d67c5da72534b766f44a Mon Sep 17 00:00:00 2001 From: bin456789 Date: Thu, 12 Feb 2026 22:54:47 +0800 Subject: [PATCH] =?UTF-8?q?windows:=20=E4=BF=AE=E5=A4=8D=E6=9F=A5=E6=89=BE?= =?UTF-8?q?=20windows=20server=202025=20iso=20=E5=A4=B1=E6=95=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- reinstall.sh | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/reinstall.sh b/reinstall.sh index c673a30..c01da78 100644 --- a/reinstall.sh +++ b/reinstall.sh @@ -882,8 +882,14 @@ find_windows_iso() { full_lang=$(english) case "$basearch" in - x86_64) arch_win=x64 ;; - aarch64) arch_win=arm64 ;; + x86_64) + arch_win=x64 + arch_win_vlsc=64bit + ;; + aarch64) + arch_win=arm64 + arch_win_vlsc=arm64 + ;; esac get_windows_iso_link @@ -1009,6 +1015,9 @@ get_windows_iso_link() { pro | education | enterprise | 'pro education' | 'pro for workstations') echo pro ;; esac ;; + 2025) + echo SrvSTDCORE + ;; esac } @@ -1136,8 +1145,11 @@ get_windows_iso_link_inner() { fi # vlsc + # SW_DVD5_Win_10_IOT_Enterprise_2015_LTSB_64Bit_EMB_English_OEM_X20-20063.IMG + # SW_DVD9_Win_Pro_10_22H2.15_Arm64_English_Pro_Ent_EDU_N_MLF_X23-67223.ISO + # SWDVD9_WinSrvSTDCORE2025_24H2.16_64Bit_English_DC_STD_MLF_RTMUpdJan26_X24-26760.iso if [ -n "$label_vlsc" ]; then - regex="sw_dvd[59]_win_${label_vlsc}_${version}.*${arch_win}_${full_lang}.*.(iso|img)" + regex="sw_?dvd[59]_win_?${label_vlsc}_?${version}.*${arch_win_vlsc}_${full_lang}.*.(iso|img)" regexs+=("$regex") fi