mirror of
https://github.com/mtan93/Installomator.git
synced 2026-03-08 05:31:53 +00:00
added malwarebytes
This commit is contained in:
@@ -27,8 +27,12 @@ fi
|
||||
# 10-digit developer team ID
|
||||
# obtain this by running
|
||||
#
|
||||
# Applications (in dmgs or zips)
|
||||
# spctl -a -vv /Applications/BBEdit.app
|
||||
#
|
||||
# Pkgs
|
||||
# spctl -a -vv -t install /Applications/BBEdit.app
|
||||
#
|
||||
# the team ID is the ten-digit ID at the end of the line starting with 'origin='
|
||||
#
|
||||
# - archiveName: (optional)
|
||||
@@ -49,6 +53,7 @@ fi
|
||||
|
||||
# TODO: add pkg support
|
||||
# TODO: add zip support
|
||||
# TODO: handle pkgs in dmg or zip
|
||||
# TODO: check for running processes and either abort or prompt user
|
||||
# TODO: log version of installed software
|
||||
# TODO: notification when done
|
||||
@@ -101,6 +106,11 @@ case $identifier in
|
||||
downloadURL=$(downloadURLFromGit "scriptingosx" "desktoppr")
|
||||
expectedTeamID="JME5BW3F3R"
|
||||
;;
|
||||
Malwarebytes)
|
||||
downloadURL="https://downloads.malwarebytes.com/file/mb3-mac"
|
||||
archiveName="Malwarebytes.pkg"
|
||||
expectedTeamID="GVZRY6KDKR"
|
||||
;;
|
||||
MicrosoftOffice365)
|
||||
downloadURL="https://go.microsoft.com/fwlink/?linkid=525133"
|
||||
archiveName="MSOffice365.pkg"
|
||||
@@ -189,8 +199,6 @@ cleanupAndExit() { # $1 = exit code
|
||||
# remove the temporary working directory when done
|
||||
echo "Deleting $tmpDir"
|
||||
rm -Rf "$tmpDir"
|
||||
else
|
||||
open "$tmpDir"
|
||||
fi
|
||||
|
||||
if [ -n "$dmgmount" ]; then
|
||||
|
||||
Reference in New Issue
Block a user