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