From 47692a08849697af2bd00c4d16a27e1bf5b2009d Mon Sep 17 00:00:00 2001 From: David Gomes <10091092+davidgomesdev@users.noreply.github.com> Date: Sun, 9 Jun 2024 16:05:09 +0100 Subject: [PATCH] fix: auto update not working on arm64 --- server/scripts/auto-update.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/scripts/auto-update.sh b/server/scripts/auto-update.sh index 6a08022..99c308e 100755 --- a/server/scripts/auto-update.sh +++ b/server/scripts/auto-update.sh @@ -49,7 +49,7 @@ cd "$HOME" || exit 1 download_latest () { # Get arch (and trim output) - arch=$(dpkg --print-architecture | xargs echo -n) + arch=$(uname -m | xargs echo -n) mkdir -p target/release || exit 1 wget -q "$REPO_URL/releases/latest/download/server-$arch" -O "$BINARY_PATH" || exit 1