From 90bc07981f554bb73f6a0761ed5545169d6bdb97 Mon Sep 17 00:00:00 2001 From: crschnick Date: Tue, 9 May 2023 23:26:47 +0000 Subject: [PATCH] Make download script use arm64 when needed --- get-xpipe.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/get-xpipe.sh b/get-xpipe.sh index 564afda96..71ab1fd4b 100644 --- a/get-xpipe.sh +++ b/get-xpipe.sh @@ -26,8 +26,9 @@ download_release_from_repo() { local os_info="$1" local tmpdir="$2" local ending=$(get_file_ending) + local arch="$(uname -m)" - local filename="xpipe-installer-$os_info-x86_64.$ending" + local filename="xpipe-installer-$os_info-$arch.$ending" local download_file="$tmpdir/$filename" local archive_url="$(release_url)/$filename" @@ -154,7 +155,7 @@ check_architecture() { ;; esac - error "Sorry! X-Pipe currently only provides pre-built binaries for x86_64 architectures." + error "Sorry! X-Pipe currently does not provide your processor architecture." return 1 }