Skip to content

Commit

Permalink
fix: eq win
Browse files Browse the repository at this point in the history
  • Loading branch information
ccrutchf committed Dec 4, 2024
1 parent d0b1b78 commit 478c3ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/install.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ function Invoke-InstallScript {
Default { "unknown" }
}

if ($platform -ne "win") {
if ($platform -eq "win") {
$arch = switch ($env:PROCESSOR_ARCHITECTURE) {
"AMD64" { "x86_64"}
"AMD64" { "x86_64" }
"ARM64" { "aarch64" }
Default { "unknown" }
}
Expand Down

0 comments on commit 478c3ac

Please sign in to comment.