File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ Describe 'MAUI app' -ForEach @(
3232 -replace ' \{\{SENTRY_DSN\}\}' , $dsn `
3333 | Set-Content MauiProgram.cs
3434
35- $arch = ( $ (uname - m) -eq ' arm64 ' ) ? ' arm64 ' : ' x64 '
35+ $arch = [ System.Runtime.InteropServices.RuntimeInformation ]::OSArchitecture.ToString().ToLower()
3636 $rid = " android-$arch "
3737
3838 Write-Host " ::group::Build Sentry.Maui.Device.IntegrationTestApp.csproj"
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ Describe 'iOS app (<tfm>)' -ForEach @(
2121 Copy-Item - Path " $PSScriptRoot /net9-maui" - Destination " $PSScriptRoot /mobile-app" - Recurse - Force
2222 Push-Location $PSScriptRoot / mobile- app
2323
24- $arch = ( $ (uname - m) -eq ' arm64 ' ) ? ' arm64 ' : ' x64 '
24+ $arch = [ System.Runtime.InteropServices.RuntimeInformation ]::OSArchitecture.ToString().ToLower()
2525 $rid = " iossimulator-$arch "
2626
2727 Write-Host " ::group::Build Sentry.Maui.Device.IntegrationTestApp.csproj"
You can’t perform that action at this time.
0 commit comments