Update zoom.sh

This commit is contained in:
Søren Theilgaard
2021-10-13 14:17:24 +02:00
parent d97c84dd0c
commit 8feb2e5578

View File

@@ -1,9 +1,7 @@
zoom)
# credit: Isaac Ordonez, Mann consulting (@mannconsulting)
name="Zoom.us"
name="zoom.us"
type="pkg"
downloadURL="https://zoom.us/client/latest/ZoomInstallerIT.pkg"
appNewVersion=$(curl -fs -H "User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15)" "https://zoom.us/download" | grep Version | head -n 1 | sed -E 's/.* ([0-9.]* \(.*\)).*/\1/') # credit: Søren Theilgaard (@theilgaard)
appNewVersion="$(curl -fsIL ${downloadURL} | grep -i ^location | cut -d "/" -f5)"
expectedTeamID="BJ4HAAB9B3"
blockingProcesses=( zoom.us )
;;