From 12e6051c82f2d193859eaa1c6982cfb6bff3eaa3 Mon Sep 17 00:00:00 2001 From: wattsy74 <49881777+wattsy74@users.noreply.github.com> Date: Fri, 3 Dec 2021 15:20:29 +0000 Subject: [PATCH] update --- Helpers/launch-dep.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Helpers/launch-dep.sh b/Helpers/launch-dep.sh index b3e0843..348562a 100644 --- a/Helpers/launch-dep.sh +++ b/Helpers/launch-dep.sh @@ -1,3 +1,3 @@ -bash -c 'osascript -e "tell application \"DEPNotify\"" -e "activate" -e "end tell"' -#loggedInUserID=$(id -u $loggedInUser) -#launchctl asuser $loggedInUserID 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"' +currentUser=$(id -un) +sudo -u $currentUser open -a /Applications/Utilities/DEPNotify.app --args -fullScreen \ No newline at end of file