fix: emulate amd64 on surface pro x

This commit is contained in:
Jan De Dobbeleer 2021-09-18 13:41:34 +02:00 committed by Jan De Dobbeleer
parent 2ed5d31f4f
commit 4eb3b439ba

View file

@ -27,6 +27,7 @@ function Get-PoshCommand {
0 { return "$PSScriptRoot/bin/posh-windows-386.exe" } # x86 0 { return "$PSScriptRoot/bin/posh-windows-386.exe" } # x86
5 { return "$PSScriptRoot/bin/posh-windows-arm64.exe" } # ARM 5 { return "$PSScriptRoot/bin/posh-windows-arm64.exe" } # ARM
9 { return "$PSScriptRoot/bin/posh-windows-amd64.exe" } # x64 9 { return "$PSScriptRoot/bin/posh-windows-amd64.exe" } # x64
12 { return "$PSScriptRoot/bin/posh-windows-amd64.exe" } # x64 emulated on Surface Pro X
} }
throw "Oh My Posh: Unsupported architecture: $arch" throw "Oh My Posh: Unsupported architecture: $arch"
} }