Skip to content

Commit

Permalink
fix prep.win.ps1
Browse files Browse the repository at this point in the history
  • Loading branch information
flarco committed Aug 31, 2024
1 parent bd52612 commit d038973
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/ci/prep.win.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ if (!(Get-Command mc.exe -ErrorAction SilentlyContinue)) {
}

# Determine the architecture
$ARCH = (Get-WmiObject Win32_Processor).Architecture
$ARCH = (Get-CimInstance -ClassName Win32_Processor).Architecture

if ($ARCH -eq 9) {
if ($ARCH -eq 5) {
Write-Host "Detected ARM64 architecture"
mc cp R2/sling/bin/sling_prep/sling_prep_windows_arm64.exe .
.\sling_prep_windows_arm64.exe
Expand Down

0 comments on commit d038973

Please sign in to comment.