fix(pwsh): support raspbian

resolves #629
This commit is contained in:
Jan De Dobbeleer 2021-04-11 14:10:51 +02:00 committed by Jan De Dobbeleer
parent 219867eaa6
commit 0077eb24ff

View file

@ -10,7 +10,7 @@ function Get-PoshCommand {
if ($IsLinux) {
# this is rather hacky but there's no other way for the time being
$arch = uname -m
if ($arch -eq 'aarch64') {
if (($arch -eq 'aarch64') -or ($arch -eq 'armv7l')) {
return "$PSScriptRoot/bin/posh-linux-arm"
}
return "$PSScriptRoot/bin/posh-linux-amd64"