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