File tree Expand file tree Collapse file tree 3 files changed +19
-0
lines changed
Expand file tree Collapse file tree 3 files changed +19
-0
lines changed Original file line number Diff line number Diff line change 1+ #! /usr/bin/env zsh
2+
3+ function installAppMicrosoftOffice(){
4+ # --> Set Download URL
5+ # Source: https://learn.microsoft.com/en-us/deployoffice/mac/deployment-options-for-office-for-mac
6+ local downloadUrl=" https://go.microsoft.com/fwlink/p/?linkid=2009112"
7+ # --> Download
8+ downloadFromUrl " $downloadUrl " " MSOfficeForMac.pkg"
9+ # --> Launch Package Installer
10+ installer -pkg " $HOME /Downloads/MSOfficeForMac.pkg" -target /
11+ }
12+ export -f installAppMicrosoftOffice
Original file line number Diff line number Diff line change @@ -81,6 +81,7 @@ installDiscord=false
8181installFig=false
8282installFirefox=false
8383installGoogleChrome=false
84+ installMicrosoftOffice=false
8485installPixelmator=false
8586installSpotify=false
8687installStrongbox=false
Original file line number Diff line number Diff line change @@ -404,6 +404,12 @@ if [ "$installVisualStudioCode" = true ]; then
404404 installAppVSCode
405405 showinfo " " " confirm"
406406fi
407+ # -- Microsoft Office / Office 365 for Mac --
408+ if [ " $installMicrosoftOffice " = true ]; then
409+ showinfo " Installing Microsoft Office for Mac:" " note"
410+ installAppMicrosoftOffice
411+ showinfo " " " confirm"
412+ fi
407413# -- Xcode Command Line Tools --
408414if [ " $installXcodeTools " = true ] || [ " $installHomebrew " = true ]; then
409415 # !! NOTE: Pre-requisite for Homebrew !!
You can’t perform that action at this time.
0 commit comments