diff --git a/Helpers/launch-dep-en.sh b/Helpers/launch-dep-en.sh index e3c5cd9..737047a 100644 --- a/Helpers/launch-dep-en.sh +++ b/Helpers/launch-dep-en.sh @@ -1,3 +1,5 @@ # LAUNCH DEPNOTIFY FOR ENROLMENT +sed -i -e 's/Quit/Q*uit/' /var/tmp/depnotify.log +sed -i -e 's/Restart/R*estart/' /var/tmp/depnotify.log sudo -u $(stat -f "%Su" /dev/console) /bin/sh <<'END' open -a /Applications/Utilities/DEPNotify.app --args -fullScreen \ No newline at end of file diff --git a/Helpers/launch-dep.sh b/Helpers/launch-dep.sh index e6fe280..fe1ee2c 100644 --- a/Helpers/launch-dep.sh +++ b/Helpers/launch-dep.sh @@ -1 +1,3 @@ +sed -i -e 's/Quit/Q*uit/' /var/tmp/depnotify.log +sed -i -e 's/Restart/R*estart/' /var/tmp/depnotify.log bash -c 'osascript -e "tell application \"DEPNotify\"" -e "activate" -e "end tell"' \ No newline at end of file