Skip to content

Commit

Permalink
fix: auto update not working on arm64
Browse files Browse the repository at this point in the history
  • Loading branch information
davidgomesdev authored Jun 9, 2024
1 parent e635b98 commit 47692a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/scripts/auto-update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 47692a0

Please sign in to comment.