ignore arm64 binary when higher than 22000

This commit is contained in:
Calyx Hikari 2025-07-01 23:02:30 +08:00
parent 9e128e7a5c
commit a7027ca5e8
2 changed files with 2 additions and 2 deletions

2
64
View file

@ -107,7 +107,7 @@ function Main {
@{ Name = "vcredist_2015-2022_x64.exe"; Url = "https://aka.ms/vs/17/release/vc_redist.x64.exe"; Year = "2012-2022" }
)
if ($procArch -eq "ARM64") {
if ($procArch -eq "ARM64" -and $buildVersion -lt 22000) {
$downloads += @{ Name = "vcredist_2015-2022_arm64.exe"; Url = "https://aka.ms/vs/17/release/vc_redist.arm64.exe"; Year = "2012-2022" }
}