microsoftedge

This commit is contained in:
Søren Theilgaard
2021-11-22 10:17:59 +01:00
parent b1801dd561
commit 385f9c1a04
2 changed files with 3 additions and 16 deletions
+3 -2
View File
@@ -1,8 +1,9 @@
microsoftedge|\
microsoftedgeconsumerstable)
microsoftedgeconsumerstable|\
microsoftedgeenterprisestable)
name="Microsoft Edge"
type="pkg"
downloadURL="https://go.microsoft.com/fwlink/?linkid=2069148"
downloadURL="https://go.microsoft.com/fwlink/?linkid=2093504"
#appNewVersion=$(curl -fs https://macadmins.software/latest.xml | xpath '//latest/package[id="com.microsoft.edge"]/cfbundleversion' 2>/dev/null | sed -E 's/<cfbundleversion>([0-9.]*)<.*/\1/')
appNewVersion=$(curl -fsIL "$downloadURL" | grep -i location: | grep -o "/MicrosoftEdge.*pkg" | sed -E 's/.*\/[a-zA-Z]*-([0-9.]*)\..*/\1/g')
expectedTeamID="UBF8T346G9"