fix(install.ps1): change cpu check (#9921)

This commit is contained in:
dave caruso
2024-04-05 15:35:46 -07:00
committed by GitHub
parent 0b2bb1fdc1
commit 4ba993be7e

View File

@@ -16,7 +16,7 @@ param(
);
# filter out 32 bit + ARM
if ($env:PROCESSOR_ARCHITECTURE -ne "AMD64") {
if (-not ((Get-CimInstance Win32_ComputerSystem)).SystemType -match "x64-based") {
Write-Output "Install Failed:"
Write-Output "Bun for Windows is currently only available for x86 64-bit Windows.`n"
return 1