From 7dc3503f5481be21ae1c316eb5c5f94b61b2c69e Mon Sep 17 00:00:00 2001 From: Thomas Nordquist Date: Tue, 15 Jan 2019 11:17:35 +0100 Subject: [PATCH] Be more specific about release architecture --- code/worker.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/worker.sh b/code/worker.sh index a9830a65..ef0c0774 100644 --- a/code/worker.sh +++ b/code/worker.sh @@ -32,7 +32,7 @@ if [ x"${URL:0:22}" == x"https://api.github.com" ] || [ x"${GHURL:0:22}" == x"ht GHURL="$URL" fi echo "GitHub API URL detected" - URL=$(wget -q "$GHURL" -O - | grep browser_download_url | grep -i AppImage | grep -v 'AppImage\.' | grep -i 64 | head -n 1 | cut -d '"' -f 4) # TODO: Handle more than one AppImage per release + URL=$(wget -q "$GHURL" -O - | grep browser_download_url | grep -i AppImage | grep -v 'AppImage\.' | grep -ie 'amd.\?64\|x86.64\|x64\|linux.\?64' | head -n 1 | cut -d '"' -f 4) # TODO: Handle more than one AppImage per release if [ x"" == x"$URL" ] ; then URL=$(wget -q "$GHURL" -O - | grep browser_download_url | grep -i AppImage | grep -v 'AppImage\.' | head -n 1 | cut -d '"' -f 4) # No 64-bit one found, trying any; TODO: Handle more than one AppImage per release fi