mirror of
https://github.com/cdr/code-server.git
synced 2025-12-06 16:34:35 +01:00
Allow development on any architecture (#3598)
This commit is contained in:
parent
cbe3192971
commit
4e14c11fa4
1 changed files with 3 additions and 3 deletions
|
|
@ -35,7 +35,8 @@ os() {
|
|||
}
|
||||
|
||||
arch() {
|
||||
case "$(uname -m)" in
|
||||
cpu="$(uname -m)"
|
||||
case "$cpu" in
|
||||
aarch64)
|
||||
echo arm64
|
||||
;;
|
||||
|
|
@ -43,8 +44,7 @@ arch() {
|
|||
echo amd64
|
||||
;;
|
||||
*)
|
||||
echo "unknown architecture $(uname -a)"
|
||||
exit 1
|
||||
echo "$cpu"
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue