From 7bb757e38fb1690a95553f5d4dbb71bfb61754ab Mon Sep 17 00:00:00 2001 From: Armin Briegel <1933192+scriptingosx@users.noreply.github.com> Date: Tue, 17 Aug 2021 14:13:01 +0200 Subject: [PATCH] updated microsoftteams as per #219 --- fragments/labels/microsoftteams.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/fragments/labels/microsoftteams.sh b/fragments/labels/microsoftteams.sh index e0385d8..9b18409 100644 --- a/fragments/labels/microsoftteams.sh +++ b/fragments/labels/microsoftteams.sh @@ -1,10 +1,12 @@ microsoftteams) name="Microsoft Teams" type="pkg" - #packageID="com.microsoft.teams" + 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/([0-9.]*) .*/\1/') # Still using macadmin.software for version, as the path does not contain the version in a matching format. packageID can be used, but version is the same. + appNewVersion=$(curl -fs https://macadmins.software/latest.xml | xpath '//latest/package[id="com.microsoft.teams.standalone"]/version' 2>/dev/null | sed -E 's/([0-9.]*) .*/\1/') + # Looks like macadmin.software has package ID version. At least on 2021-05-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