mirror of
https://github.com/oven-sh/bun
synced 2026-02-09 10:28:47 +00:00
fix(install.ps1): change cpu check (#9921)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user