Arm version of binary should work with future updates.

This commit is contained in:
Storm Dragon 2021-10-14 23:26:36 -04:00
parent 64a6fa04ad
commit 51aacb9d12

View File

@ -79,7 +79,11 @@ update() {
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