Merge branch 'master' into Blupi
This commit is contained in:
1 file changed
+2
-2
+2
-2
@@ -32,9 +32,9 @@ 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 -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 -i 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 | head -n 1 | cut -d '"' -f 4) # No 64-bit one found, trying any; TODO: Handle more than one AppImage per release
|
||||
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
|
||||
if [ x"" == x"$URL" ] ; then
|
||||
echo "Unable to get download URL for the AppImage. Is it really there on GitHub Releases?"
|
||||
|
||||
Reference in new issue
Block a user