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
|
ping -c1 stormgames.wolfe.casa &> /dev/null || return
|
||||||
if [[ "$(uname)" == "Darwin" ]]; then
|
if [[ "$(uname)" == "Darwin" ]]; then
|
||||||
local downloadFile="audiogame-manager.mac"
|
local downloadFile="audiogame-manager.mac"
|
||||||
|
else
|
||||||
|
if [[ "$(uname -m)" == "armv7l" ]]; then
|
||||||
|
local downloadFile="audiogame-manager.arm"
|
||||||
else
|
else
|
||||||
local downloadFile="audiogame-manager"
|
local downloadFile="audiogame-manager"
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
if [[ "$(wget --quiet -O - https://stormgames.wolfe.casa/downloads/${downloadFile} | sha256sum | cut -d ' ' -f1)" == "$(sha256sum "${filePath}" | cut -d ' ' -f1)" ]]; then
|
if [[ "$(wget --quiet -O - https://stormgames.wolfe.casa/downloads/${downloadFile} | sha256sum | cut -d ' ' -f1)" == "$(sha256sum "${filePath}" | cut -d ' ' -f1)" ]]; then
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user