mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-12-25 11:04:04 -08:00
fix: emulate amd64 on surface pro x
This commit is contained in:
parent
2ed5d31f4f
commit
4eb3b439ba
|
@ -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"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue