Skip to content

Commit 47692a0

Browse files
fix: auto update not working on arm64
1 parent e635b98 commit 47692a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/scripts/auto-update.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ cd "$HOME" || exit 1
4949

5050
download_latest () {
5151
# Get arch (and trim output)
52-
arch=$(dpkg --print-architecture | xargs echo -n)
52+
arch=$(uname -m | xargs echo -n)
5353

5454
mkdir -p target/release || exit 1
5555
wget -q "$REPO_URL/releases/latest/download/server-$arch" -O "$BINARY_PATH" || exit 1

0 commit comments

Comments
 (0)