Files
Installomator/fragments/labels/omnifocus3.sh
2021-04-28 09:36:16 +02:00

8 lines
359 B
Bash

omnifocus3)
name="OmniFocus"
type="dmg"
downloadURL=$(curl -fs "https://update.omnigroup.com/appcast/com.omnigroup.OmniFocus3" | xpath '(//rss/channel/item/enclosure/@url)[1]' 2>/dev/null | head -1 | cut -d '"' -f 2)
appNewVersion=$( echo "${downloadURL}" | sed -E 's/.*\/[a-zA-Z]*-([0-9.]*)\..*/\1/g' )
expectedTeamID="34YW5XSRB7"
;;