From b25dad6ea92ee4f0323cf96020d0a98fbcf5c4be Mon Sep 17 00:00:00 2001 From: Michael <30936296+mtan93@users.noreply.github.com> Date: Mon, 4 Oct 2021 20:27:11 +0100 Subject: [PATCH] Update brandDEPinstall.sh --- Helpers/brandDEPinstall.sh | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/Helpers/brandDEPinstall.sh b/Helpers/brandDEPinstall.sh index 92badd2..8bc70f9 100644 --- a/Helpers/brandDEPinstall.sh +++ b/Helpers/brandDEPinstall.sh @@ -22,17 +22,14 @@ # APPINSTALLNAME=$(cat /tmp/.appinstallname) +chmod 777 /var/tmp/depnotify.log ## BRANDING DEPNOTIFY WINDOW echo 'Command: MainTitle: Installing $APPINSTALLNAME...' >> /var/tmp/depnotify.log echo 'Command: Image: /Library/Application Support/Purple/logo.png' >> /var/tmp/depnotify.log echo 'Command: MainText: We are now installing re-installing the $APPINSTALLNAME application.' >> /var/tmp/depnotify.log +echo 'Command: WindowStyle: Activate' >> /var/tmp/depnotify.log ## STARTING INSTALLS ### echo 'Status: Starting MDM Installer' >> /var/tmp/depnotify.log sleep 3s -#sudo -u $(stat -f '%Su' /dev/console) /bin/sh <<'END' -chmod 777 /var/tmp/depnotify.log -/Applications/Utilities/DEPNotify.app/Contents/MacOS/DEPNotify -chmod 777 /var/tmp/depnotify.log -sleep 3s echo 'Status: Starting Software Install' >> /var/tmp/depnotify.log