mirror of
https://github.com/xpipe-io/xpipe.git
synced 2024-11-25 00:50:31 +00:00
Make download script use arm64 when needed
This commit is contained in:
parent
d0ca3e8a27
commit
90bc07981f
1 changed files with 3 additions and 2 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue