mirror of
https://github.com/mtan93/Installomator.git
synced 2026-03-18 05:10:59 +00:00
changed fragments to .sh extension
This commit is contained in:
10
fragments/labels/microsoftexcel.sh
Normal file
10
fragments/labels/microsoftexcel.sh
Normal file
@@ -0,0 +1,10 @@
|
||||
microsoftexcel)
|
||||
name="Microsoft Excel"
|
||||
type="pkg"
|
||||
downloadURL="https://go.microsoft.com/fwlink/?linkid=525135"
|
||||
#appNewVersion=$(curl -fs https://macadmins.software/latest.xml | xpath '//latest/package[id="com.microsoft.excel.standalone.365"]/cfbundleshortversionstring' 2>/dev/null | sed -E 's/<cfbundleshortversionstring>([0-9.]*)<.*/\1/')
|
||||
appNewVersion=$(curl -fsIL "$downloadURL" | grep -i location: | grep -o "/Microsoft_.*pkg" | cut -d "_" -f 3 | cut -d "." -f 1-2)
|
||||
expectedTeamID="UBF8T346G9"
|
||||
updateTool="/Library/Application Support/Microsoft/MAU2.0/Microsoft AutoUpdate.app/Contents/MacOS/msupdate"
|
||||
updateToolArguments=( --install --apps XCEL2019 )
|
||||
;;
|
||||
Reference in New Issue
Block a user