Add latest version check to firefoxpkg

This commit is contained in:
Maarten Wijnants
2022-03-31 08:44:52 +02:00
committed by GitHub
parent f0f4ff5747
commit 5109597f1a

View File

@@ -2,6 +2,7 @@ firefoxpkg)
name="Firefox"
type="pkg"
downloadURL="https://download.mozilla.org/?product=firefox-pkg-latest-ssl&os=osx&lang=en-US"
appNewVersion=$(curl -fs https://www.mozilla.org/en-US/firefox/releases/ | grep '<html' | grep -o -i -e "data-latest-firefox=\"[0-9.]*\"" | cut -d '"' -f2)
expectedTeamID="43AQ936H96"
blockingProcesses=( firefox )
;;