Files
Installomator/fragments/labels/zoomrooms.txt
2021-08-16 15:49:43 +02:00

26 lines
1.1 KiB
Plaintext
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
zoomrooms)
   name="ZoomRooms"
   type="pkg"
   packageID="us.zoom.pkg.zp"
   downloadURL="https://zoom.us/client/latest/ZoomRooms.pkg"
   appNewVersion="$(curl -fsIL ${downloadURL} | grep -i location | cut -d "/" -f5)"
   expectedTeamID="BJ4HAAB9B3"
blockingProcesses=( "ZoomPresence" )
   ;;
zulujdk11)
name="Zulu JDK 11"
type="pkgInDmg"
packageID="com.azulsystems.zulu.11"
if [[ $(arch) == i386 ]]; then
downloadURL=$(curl -fs "https://www.azul.com/downloads/zulu-community/" | xmllint --html --format - 2>/dev/null | tr , '
' | grep -o "https:.*/zulu11.*ca-jdk11.*x64.dmg" | sed 's/\//g')
elif [[ $(arch) == arm64 ]]; then
downloadURL=$(curl -fs "https://www.azul.com/downloads/zulu-community/" | xmllint --html --format - 2>/dev/null | tr , '
' | grep -o "https:.*/zulu11.*ca-jdk11.*aarch64.dmg" | sed 's/\//g')
fi
expectedTeamID="TDTHCUPYFR"
appCustomVersion(){ java -version 2>&1 | grep Runtime | awk '{print $4}' | sed -e "s/.*Zulu//" | cut -d '-' -f 1 | sed -e "s/+/\./" }
appNewVersion=$(echo "$downloadURL" | cut -d "-" -f 1 | sed -e "s/.*zulu//") # Cannot be compared to anything
;;