diff --git a/google-chrome.sh b/google-chrome.sh index 31aea09..be0913a 100644 --- a/google-chrome.sh +++ b/google-chrome.sh @@ -18,6 +18,7 @@ # - 1.0 Martyn Watts, 01.07.2021 Initial Build # - 1.1-m Michael Tanner, 18.08.2021 Adapted for Mosyle # - 1.2 Martyn Watts, 24.09.2021 Added Check to see if dockutil is installed to make the script more resilient +# - 1.3 Martyn Watts, 28.09.2021 Added Open Console Parameter to use with TeamViewer # #################################################################################################### # Script to download and install Google Chrome. @@ -32,6 +33,11 @@ forceQuit='Y' logfile="/Library/Logs/GoogleChromeInstallScript.log" deplog="/var/tmp/depnotify.log" +if [[ $@ == "openconsole" ]]; then + open ${logfile} + open ${deplog} +fi + echo "Status: Installing ${appName}" >> ${deplog} # To get just the latest version number from the version check URL