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

@ -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