Tor Browser label

With version checking
This commit is contained in:
Søren Theilgaard
2020-07-08 23:37:25 +02:00
committed by GitHub
parent 3ca4dce814
commit 85dcfc70bd

View File

@@ -621,6 +621,14 @@ case $label in
downloadURL="https://laptop-updates.brave.com/latest/osx"
expectedTeamID="9BNSXJN65R"
;;
torbrowser)
# credit: Søren Theilgaard (@theilgaard)
name="Tor Browser"
type="dmg"
downloadURL=https://www.torproject.org$(curl -fs https://www.torproject.org/download/ | grep "downloadLink" | grep dmg | cut -d '"' -f 4)
appNewVersion=$(curl -fs https://www.torproject.org/download/ | grep "downloadLink" | grep dmg | cut -d '"' -f 4 | cut -d / -f 4)
expectedTeamID="MADPSAYN6T"
;;
umbrellaroamingclient)
# credit: Tadayuki Onishi (@kenchan0130)
name="Umbrella Roaming Client"