Update brandDEPinstall.sh

This commit is contained in:
Michael
2021-10-04 20:27:11 +01:00
committed by GitHub
parent 83ed93ef69
commit b25dad6ea9

View File

@@ -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