diff --git a/Helpers/launch-dep-en.sh b/Helpers/launch-dep-en.sh index 803f160..e3c5cd9 100644 --- a/Helpers/launch-dep-en.sh +++ b/Helpers/launch-dep-en.sh @@ -1,2 +1,3 @@ # LAUNCH DEPNOTIFY FOR ENROLMENT -screen -dmS DEPEnroll /Applications/Utilities/DEPNotify.app/Contents/MacOS/DEPNotify --args -fullScreen \ No newline at end of file +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 a47318c..e6fe280 100644 --- a/Helpers/launch-dep.sh +++ b/Helpers/launch-dep.sh @@ -1,3 +1 @@ -#bash -c 'osascript -e "tell application \"DEPNotify\"" -e "activate" -e "end tell"' -sudo -u $(stat -f "%Su" /dev/console) /bin/sh <<'END' -open -a /Applications/Utilities/DEPNotify.app --args -fullScreen \ No newline at end of file +bash -c 'osascript -e "tell application \"DEPNotify\"" -e "activate" -e "end tell"' \ No newline at end of file