Arm version of binary should work with future updates.
This commit is contained in:
parent
64a6fa04ad
commit
51aacb9d12
@ -78,9 +78,13 @@ update() {
|
||||
ping -c1 stormgames.wolfe.casa &> /dev/null || return
|
||||
if [[ "$(uname)" == "Darwin" ]]; then
|
||||
local downloadFile="audiogame-manager.mac"
|
||||
else
|
||||
if [[ "$(uname -m)" == "armv7l" ]]; then
|
||||
local downloadFile="audiogame-manager.arm"
|
||||
else
|
||||
local downloadFile="audiogame-manager"
|
||||
fi
|
||||
fi
|
||||
if [[ "$(wget --quiet -O - https://stormgames.wolfe.casa/downloads/${downloadFile} | sha256sum | cut -d ' ' -f1)" == "$(sha256sum "${filePath}" | cut -d ' ' -f1)" ]]; then
|
||||
return
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user