From f28b1116706c736a3e3f8dafc9c613bfc527e1c2 Mon Sep 17 00:00:00 2001 From: bin456789 Date: Sun, 31 May 2026 23:35:16 +0800 Subject: [PATCH] =?UTF-8?q?windows:=20ws2016/2019/2022=20arm64=20=E4=BD=BF?= =?UTF-8?q?=E7=94=A8=20win10=20=E7=9A=84=E9=A9=B1=E5=8A=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- trans.sh | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/trans.sh b/trans.sh index ffbadf9..b5c8163 100644 --- a/trans.sh +++ b/trans.sh @@ -7122,15 +7122,21 @@ EOF # 10 >>> w10 # 2012 r2 >>> 2k12R2 virtio_sys=$( - case "$(echo "$product_ver" | to_lower)" in - 'vista') echo 2k8 ;; # 没有 vista 文件夹 - *) + # 没有 vista 文件夹 + if [ "$product_ver" = vista ]; then + echo 2k8 + + # 2k16 2k19 2k22 文件夹没有 arm64 驱动 + elif { [ "$product_ver" = 2016 ] || [ "$product_ver" = 2019 ] || [ "$product_ver" = 2022 ]; } && + [ "$arch_wim" = arm64 ]; then + echo w10 + + else case "$windows_type" in client) echo "w$product_ver" ;; server) echo "$product_ver" | sed -E -e 's/ //' -e 's/^200?/2k/' -e 's/r2/R2/' ;; esac - ;; - esac + fi ) # win7-drivers 分支 win7 文件夹只有一次提交,也就是 173 全家桶