From c43bdfd31b699e0777f7763e3f77968899757955 Mon Sep 17 00:00:00 2001 From: wattsy74 <49881777+wattsy74@users.noreply.github.com> Date: Fri, 3 Dec 2021 15:59:15 +0000 Subject: [PATCH] update --- Helpers/launch-dep-en.sh | 3 ++- Helpers/launch-dep.sh | 4 +--- 2 files changed, 3 insertions(+), 4 deletions(-) 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