Arm version of binary should work with future updates.
This commit is contained in:
parent
64a6fa04ad
commit
51aacb9d12
@ -79,7 +79,11 @@ update() {
|
|||||||
if [[ "$(uname)" == "Darwin" ]]; then
|
if [[ "$(uname)" == "Darwin" ]]; then
|
||||||
local downloadFile="audiogame-manager.mac"
|
local downloadFile="audiogame-manager.mac"
|
||||||
else
|
else
|
||||||
|
if [[ "$(uname -m)" == "armv7l" ]]; then
|
||||||
|
local downloadFile="audiogame-manager.arm"
|
||||||
|
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
|
||||||
|
Loading…
Reference in New Issue
Block a user