Files
Installomator/fragments/labels/microsoftteams.sh
Søren Theilgaard 709a787805 microsoft updateTool updates
All Microsoft labels with `updateTool` variable is updated to list updates first. That should help.
2021-10-22 16:59:46 +02:00

14 lines
940 B
Bash

microsoftteams)
name="Microsoft Teams"
type="pkg"
packageID="com.microsoft.teams"
downloadURL="https://go.microsoft.com/fwlink/?linkid=869428"
appNewVersion=$(curl -fs https://macadmins.software/latest.xml | xpath '//latest/package[id="com.microsoft.teams.standalone"]/version' 2>/dev/null | sed -E 's/<version>([0-9.]*) .*/\1/')
# Looks like macadmin.software has package ID version. At least on 202105-28 version 1.00.411161 is matched on installed version and homepage.
expectedTeamID="UBF8T346G9"
blockingProcesses=( Teams "Microsoft Teams Helper" )
# Commenting out msupdate as it is not really supported *yet* for teams
# updateTool="/Library/Application Support/Microsoft/MAU2.0/Microsoft AutoUpdate.app/Contents/MacOS/msupdate --list; /Library/Application Support/Microsoft/MAU2.0/Microsoft AutoUpdate.app/Contents/MacOS/msupdate"
# updateToolArguments=( --install --apps TEAM01 )
;;