Update ferdi.sh

Fixed `archiveName` so that `.zip` is expected in the end of the name.
This commit is contained in:
Søren Theilgaard
2022-08-23 13:46:35 +02:00
parent 4db4ab4eef
commit eee730ba9c

View File

@@ -2,9 +2,9 @@ ferdi)
name="Ferdi"
type="zip"
if [[ $(arch) == "arm64" ]]; then
archiveName="arm64-mac.zip"
archiveName="arm64-mac.zip$"
elif [[ $(arch) == "i386" ]]; then
archiveName="Ferdi-[0-9.]*-mac.zip"
archiveName="Ferdi-[0-9.]*-mac.zip$"
fi
downloadURL="$(downloadURLFromGit getferdi ferdi)"
appNewVersion=$(versionFromGit getferdi ferdi )