Added 'vivaldi'

Added the Vivaldi Browser to Installomator.sh
This commit is contained in:
Adrian Bühler
2021-03-31 17:29:59 +02:00
committed by GitHub
parent b9e430dcf8
commit d29881aecc

View File

@@ -2622,6 +2622,14 @@ zulujdk15)
# MARK: Add new labels after this line (let us sort them in the list)
vivaldi)
# credit: Adrian Bühler (@midni9ht)
name="Vivaldi"
type="tbz"
downloadURL=$(curl --location --fail --silent "https://update.vivaldi.com/update/1.0/public/mac/appcast.xml" | xpath '//rss/channel/item[1]/enclosure/@url' 2>/dev/null | cut -d '"' -f 2)
appNewVersion=$(curl -is "https://update.vivaldi.com/update/1.0/public/mac/appcast.xml" | grep sparkle:version | tr ',' '\n' | grep sparkle:version | cut -d '"' -f 4)
expectedTeamID="4XF3XNRN6Y"
;;
# MARK: add new labels above here