We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e035fa3 commit d953276Copy full SHA for d953276
PowerShellEditorServices.build.ps1
@@ -33,7 +33,7 @@ $script:IsNix = $IsLinux -or $IsMacOS
33
# For Apple M1, pwsh might be getting emulated, in which case we need to check
34
# for the proc_translated flag, otherwise we can check the architecture.
35
$script:IsAppleM1 = $IsMacOS -and ((sysctl -n sysctl.proc_translated) -eq 1 -or (uname -m) -eq "arm64")
36
-$script:IsArm64 = $IsWindows -and $env:PROCESSOR_ARCHITECTURE -eq "AMD64"
+$script:IsArm64 = $IsWindows -and @("ARM64", "AMD64") -contains $env:PROCESSOR_ARCHITECTURE
37
$script:BuildInfoPath = [System.IO.Path]::Combine($PSScriptRoot, "src", "PowerShellEditorServices.Hosting", "BuildInfo.cs")
38
$script:PsesCommonProps = [xml](Get-Content -Raw "$PSScriptRoot/PowerShellEditorServices.Common.props")
39
0 commit comments