This commit is contained in:
wattsy74
2021-12-03 15:59:15 +00:00
parent a352b93cde
commit c43bdfd31b
2 changed files with 3 additions and 4 deletions

View File

@@ -1,2 +1,3 @@
# LAUNCH DEPNOTIFY FOR ENROLMENT
screen -dmS DEPEnroll /Applications/Utilities/DEPNotify.app/Contents/MacOS/DEPNotify --args -fullScreen
sudo -u $(stat -f "%Su" /dev/console) /bin/sh <<'END'
open -a /Applications/Utilities/DEPNotify.app --args -fullScreen

View File

@@ -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
bash -c 'osascript -e "tell application \"DEPNotify\"" -e "activate" -e "end tell"'