Skip to content

Commit

Permalink
Use windows-x64 server on windows-arm64 (#117)
Browse files Browse the repository at this point in the history
Windows 11 on arm64 provides emulation for x64 binaries. Thus, it's
possible to execute the x64 server to provide remote access.
  • Loading branch information
pbo-linaro authored Oct 16, 2023
1 parent 72a43e1 commit 6450dc6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/serverSetup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -458,7 +458,8 @@ function printInstallResults($code) {
# Check machine architecture
$ARCH=$env:PROCESSOR_ARCHITECTURE
if(($ARCH -eq "AMD64") -or ($ARCH -eq "IA64")) {
# Use x64 version for ARM64, as it's not yet available.
if(($ARCH -eq "AMD64") -or ($ARCH -eq "IA64") -or ($ARCH -eq "ARM64")) {
$SERVER_ARCH="x64"
}
else {
Expand Down

0 comments on commit 6450dc6

Please sign in to comment.