From ca5a453098e5068da57147b51a60f3181980a938 Mon Sep 17 00:00:00 2001 From: wattsy74 <49881777+wattsy74@users.noreply.github.com> Date: Fri, 3 Dec 2021 15:47:07 +0000 Subject: [PATCH] update --- Helpers/launch-dep.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/Helpers/launch-dep.sh b/Helpers/launch-dep.sh index 348562a..fb4f719 100644 --- a/Helpers/launch-dep.sh +++ b/Helpers/launch-dep.sh @@ -1,3 +1,4 @@ #bash -c 'osascript -e "tell application \"DEPNotify\"" -e "activate" -e "end tell"' +sudo -u $(stat -f "%Su" /dev/console) /bin/sh <<'END' currentUser=$(id -un) sudo -u $currentUser open -a /Applications/Utilities/DEPNotify.app --args -fullScreen \ No newline at end of file