This commit is contained in:
Armin Briegel
2020-07-22 11:47:35 +02:00

View File

@@ -217,16 +217,14 @@ longversion)
downloadURL=$(downloadURLFromGit MagerValp AutoDMG) downloadURL=$(downloadURLFromGit MagerValp AutoDMG)
expectedTeamID="5KQ3D3FG5H" expectedTeamID="5KQ3D3FG5H"
;; ;;
googlechrome) googlechrome|googlechromepkg)
name="Google Chrome"
type="dmg"
downloadURL="https://dl.google.com/chrome/mac/stable/GGRO/googlechrome.dmg"
expectedTeamID="EQHXZ8M8AV"
;;
googlechromepkg)
name="Google Chrome" name="Google Chrome"
type="pkg" type="pkg"
downloadURL="https://dl.google.com/chrome/mac/stable/gcem/GoogleChrome.pkg" #
# Note: this url acknowledges that you accept the terms of service
# https://support.google.com/chrome/a/answer/9915669
#
downloadURL="https://dl.google.com/chrome/mac/stable/accept_tos%3Dhttps%253A%252F%252Fwww.google.com%252Fintl%252Fen_ph%252Fchrome%252Fterms%252F%26_and_accept_tos%3Dhttps%253A%252F%252Fpolicies.google.com%252Fterms/googlechrome.pkg"
expectedTeamID="EQHXZ8M8AV" expectedTeamID="EQHXZ8M8AV"
updateTool="/Library/Google/GoogleSoftwareUpdate/GoogleSoftwareUpdate.bundle/Contents/Resources/GoogleSoftwareUpdateAgent.app/Contents/MacOS/GoogleSoftwareUpdateAgent" updateTool="/Library/Google/GoogleSoftwareUpdate/GoogleSoftwareUpdate.bundle/Contents/Resources/GoogleSoftwareUpdateAgent.app/Contents/MacOS/GoogleSoftwareUpdateAgent"
updateToolArguments=( -runMode oneshot -userInitiated YES ) updateToolArguments=( -runMode oneshot -userInitiated YES )
@@ -389,13 +387,21 @@ zoom)
expectedTeamID="BJ4HAAB9B3" expectedTeamID="BJ4HAAB9B3"
blockingProcesses=( zoom.us ) blockingProcesses=( zoom.us )
;; ;;
sonos) # for compatibility 'sonos' will download and install the S1 Controller
# use 'sonoss2' for the new controller
sonos|sonoss1)
# credit: Erik Stam (@erikstam) # credit: Erik Stam (@erikstam)
name="Sonos" name="Sonos S1 Controller"
type="dmg" type="dmg"
downloadURL="https://www.sonos.com/redir/controller_software_mac" downloadURL="https://www.sonos.com/redir/controller_software_mac"
expectedTeamID="2G4LW83Q3E" expectedTeamID="2G4LW83Q3E"
;; ;;
sonoss2)
name="Sonos"
type="dmg"
downloadURL="https://www.sonos.com/redir/controller_software_mac2"
expectedTeamID="2G4LW83Q3E"
;;
coderunner) coderunner)
# credit: Erik Stam (@erikstam) # credit: Erik Stam (@erikstam)
name="CodeRunner" name="CodeRunner"
@@ -492,7 +498,7 @@ githubdesktop)
expectedTeamID="VEKTX9H2N7" expectedTeamID="VEKTX9H2N7"
;; ;;
things) things)
name="Things" name="Things3"
type="zip" type="zip"
downloadURL="https://culturedcode.com/things/download/" downloadURL="https://culturedcode.com/things/download/"
expectedTeamID="JLMPQHK86H" expectedTeamID="JLMPQHK86H"
@@ -602,10 +608,17 @@ jamfreenroller)
downloadURL=$(downloadURLFromGit jamf ReEnroller) downloadURL=$(downloadURLFromGit jamf ReEnroller)
expectedTeamID="PS2F6S478M" expectedTeamID="PS2F6S478M"
;; ;;
adobereaderdc) adobereaderdc|adobereaderdc-install)
name="Adobe Acrobat Reader DC" name="Adobe Acrobat Reader DC"
type="pkgInDmg" type="pkgInDmg"
downloadURL=$(adobecurrent=`curl -s https://armmf.adobe.com/arm-manifests/mac/AcrobatDC/reader/current_version.txt | tr -d '.'` && echo http://ardownload.adobe.com/pub/adobe/reader/mac/AcrobatDC/"$adobecurrent"/AcroRdrDC_"$adobecurrent"_MUI.dmg) downloadURL=$(curl -H "Sec-Fetch-Site: same-origin" -H "Accept-Encoding: gzip, deflate, br" -H "Accept-Language: en-US;q=0.9,en;q=0.8" -H "DNT: 1" -H "Sec-Fetch-Mode: cors" -H "X-Requested-With: XMLHttpRequest" -H "Referer: https://get.adobe.com/reader/enterprise/" -H "Accept: */*" "https://get.adobe.com/reader/webservices/json/standalone/?platform_type=Macintosh&platform_dist=OSX&platform_arch=x86-32&language=English&eventname=readerotherversions" | grep -Eo '"download_url":.*?[^\\]",' | head -n 1 | cut -d \" -f 4)
expectedTeamID="JQ525L2MZD"
blockingProcesses=( "AdobeReader" )
;;
adobereaderdc-update)
name="Adobe Acrobat Reader DC"
type="pkgInDmg"
downloadURL=$(adobecurrent=`curl -s https://armmf.adobe.com/arm-manifests/mac/AcrobatDC/reader/current_version.txt | tr -d '.'` && echo http://ardownload.adobe.com/pub/adobe/reader/mac/AcrobatDC/"$adobecurrent"/AcroRdrDCUpd"$adobecurrent"_MUI.dmg)
expectedTeamID="JQ525L2MZD" expectedTeamID="JQ525L2MZD"
blockingProcesses=( "AdobeReader" ) blockingProcesses=( "AdobeReader" )
;; ;;
@@ -630,6 +643,14 @@ brave)
downloadURL="https://laptop-updates.brave.com/latest/osx" downloadURL="https://laptop-updates.brave.com/latest/osx"
expectedTeamID="9BNSXJN65R" expectedTeamID="9BNSXJN65R"
;; ;;
torbrowser)
# credit: Søren Theilgaard (@theilgaard)
name="Tor Browser"
type="dmg"
downloadURL=https://www.torproject.org$(curl -fs https://www.torproject.org/download/ | grep "downloadLink" | grep dmg | cut -d '"' -f 4)
appNewVersion=$(curl -fs https://www.torproject.org/download/ | grep "downloadLink" | grep dmg | cut -d '"' -f 4 | cut -d / -f 4)
expectedTeamID="MADPSAYN6T"
;;
umbrellaroamingclient) umbrellaroamingclient)
# credit: Tadayuki Onishi (@kenchan0130) # credit: Tadayuki Onishi (@kenchan0130)
name="Umbrella Roaming Client" name="Umbrella Roaming Client"
@@ -688,6 +709,13 @@ swiftruntimeforcommandlinetools)
downloadURL="https://updates.cdn-apple.com/2019/cert/061-41823-20191025-5efc5a59-d7dc-46d3-9096-396bb8cb4a73/SwiftRuntimeForCommandLineTools.dmg" downloadURL="https://updates.cdn-apple.com/2019/cert/061-41823-20191025-5efc5a59-d7dc-46d3-9096-396bb8cb4a73/SwiftRuntimeForCommandLineTools.dmg"
expectedTeamID="Software Update" expectedTeamID="Software Update"
;; ;;
vmwarefusion)
# credit: Erik Stam (@erikstam)
name="VMware Fusion"
type="dmg"
downloadURL="https://www.vmware.com/go/getfusion"
expectedTeamID="EG7KH642X6"
;;
# Note: Packages is signed but _not_ notarized, so spctl will reject it # Note: Packages is signed but _not_ notarized, so spctl will reject it