Update check-cpu.ps1

This commit is contained in:
Markus Fleschutz 2023-01-18 20:47:12 +01:00
parent 78d9fb668b
commit f00cffe46d

View File

@ -49,9 +49,9 @@ try {
$Name = $PSVersionTable.OS
if ($Name -like "*-generic *") {
if ([System.Environment]::Is64BitOperatingSystem) {
$Arch = "x86-64"
$Arch = "x64"
} else {
$Arch = "x86-32"
$Arch = "x86"
}
} elseif ($Name -like "*-raspi *") {
if ([System.Environment]::Is64BitOperatingSystem) {