[windows] Add windows-11-arm64 image generation code (#13879)
This commit is contained in:
@@ -4,7 +4,12 @@
|
||||
## Supply chain security: checksum validation
|
||||
################################################################################
|
||||
|
||||
$arch = 'INTEL'
|
||||
if (Test-IsArm64) {
|
||||
$openSSLArch = "ARM"
|
||||
} else {
|
||||
$openSSLArch = "INTEL"
|
||||
}
|
||||
|
||||
$bits = '64'
|
||||
$light = $false
|
||||
$installerType = "exe"
|
||||
@@ -22,7 +27,7 @@ $installerHash = $null
|
||||
|
||||
foreach ($key in $installerNames) {
|
||||
$installer = $installersAvailable.$key
|
||||
if (($installer.light -eq $light) -and ($installer.arch -eq $arch) -and ($installer.bits -eq $bits) -and ($installer.installer -eq $installerType) -and ($installer.basever -like $version)) {
|
||||
if (($installer.light -eq $light) -and ($installer.arch -eq $openSSLArch) -and ($installer.bits -eq $bits) -and ($installer.installer -eq $installerType) -and ($installer.basever -like $version)) {
|
||||
$installerUrl = $installer.url
|
||||
$installerHash = $installer.sha512
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user