updated ferdi, closes #223

This commit is contained in:
Armin Briegel
2021-08-17 14:17:26 +02:00
parent 7bb757e38f
commit 96b52e631f

View File

@@ -1,7 +1,13 @@
ferdi)
name="Ferdi"
type="dmg"
type="zip"
if [[ $(arch) == i386 ]]; then
downloadURL=$(curl --silent --fail "https://api.github.com/repos/getferdi/ferdi/releases/latest" \
| awk -F '"' "/browser_download_url/ && /mac.zip/ && ! /blockmap/ && ! /arm64-mac/ && ! /AppImage/{ print \$4 }")
elif [[ $(arch) == arm64 ]]; then
downloadURL=$(downloadURLFromGit getferdi ferdi )
archiveName="arm64-mac.zip"
fi
appNewVersion=$(versionFromGit getferdi ferdi )
expectedTeamID="B6J9X9DWFL"
;;