mirror of
https://github.com/kovidgoyal/kitty.git
synced 2024-09-11 14:45:31 +03:00
Add "amd64" as a potential value for "uname -m"
This accommodates FreeBSD and perhaps others.
This commit is contained in:
parent
e2fda5d1c4
commit
4b818244be
@ -46,7 +46,7 @@ detect_os() {
|
||||
'Linux')
|
||||
OS="linux"
|
||||
case "$(command uname -m)" in
|
||||
x86_64) arch="x86_64";;
|
||||
amd64|x86_64) arch="x86_64";;
|
||||
aarch64*) arch="arm64";;
|
||||
armv8*) arch="arm64";;
|
||||
i386) arch="i686";;
|
||||
|
@ -60,7 +60,7 @@ else
|
||||
fi
|
||||
|
||||
case "$(command uname -m)" in
|
||||
x86_64) arch="amd64";;
|
||||
amd64|x86_64) arch="amd64";;
|
||||
aarch64*) arch="arm64";;
|
||||
armv8*) arch="arm64";;
|
||||
arm) arch="arm";;
|
||||
|
@ -75,7 +75,7 @@ fi
|
||||
|
||||
if [ "$OS" = "linux" ]; then
|
||||
case "$(command uname -m)" in
|
||||
x86_64) arch="x86_64";;
|
||||
amd64|x86_64) arch="x86_64";;
|
||||
aarch64*) arch="arm64";;
|
||||
armv8*) arch="arm64";;
|
||||
i386) arch="i686";;
|
||||
|
Loading…
Reference in New Issue
Block a user