From 51aacb9d123f6047620e4def7a646b6a8f6968bf Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Thu, 14 Oct 2021 23:26:36 -0400 Subject: [PATCH] Arm version of binary should work with future updates. --- audiogame-manager.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index 0d73395..fa32af9 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -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