Add downloadURL for ARM. Add appNewVersion

Unfortunately I could not find any other version source for `appNewVersion`.
Should work just fine tho.
This commit is contained in:
Adrian Bühler
2022-03-22 11:40:43 +01:00
committed by GitHub
parent 579862274a
commit 600657b074

View File

@@ -1,6 +1,11 @@
onlyofficedesktop)
name="ONLYOFFICE"
type="dmg"
downloadURL="https://download.onlyoffice.com/install/desktop/editors/mac/distrib/onlyoffice/ONLYOFFICE.dmg"
if [[ $(arch) == "arm64" ]]; then
downloadURL="https://download.onlyoffice.com/install/desktop/editors/mac/arm/distrib/ONLYOFFICE.dmg"
elif [[ $(arch) == "i386" ]]; then
downloadURL="https://download.onlyoffice.com/install/desktop/editors/mac/x86_64/distrib/ONLYOFFICE.dmg"
fi
appNewVersion=$(versionFromGit ONLYOFFICE DesktopEditors)
expectedTeamID="2WH24U26GJ"
;;