Skip to content

Commit

Permalink
0.0.10
Browse files Browse the repository at this point in the history
Signed-off-by: Dan K. Snelson <[email protected]>
  • Loading branch information
dan-snelson committed Nov 1, 2023
1 parent 18b90c4 commit 7f3de02
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Display Message/Display-Message-via-Dialog.bash
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@
# Version 0.0.9, 09-Sep-2023, Dan K. Snelson (@dan-snelson)
# - Updated `dialogURL`
#
# Version 0.0.10, 01-Nov-2023, Dan K. Snelson (@dan-snelson)
# - Updated `osascript` error message
#
####################################################################################################


Expand All @@ -56,7 +59,7 @@
#
####################################################################################################

scriptVersion="0.0.9"
scriptVersion="0.0.10"
scriptLog="/var/tmp/org.churchofjesuschrist.log"
export PATH=/usr/bin:/bin:/usr/sbin:/sbin
loggedInUser=$( echo "show State:/Users/ConsoleUser" | scutil | awk '/Name :/ { print $3 }' )
Expand Down Expand Up @@ -171,7 +174,7 @@ function dialogCheck() {
else

# Display a so-called "simple" dialog if Team ID fails to validate
osascript -e 'display dialog "Please advise your Support Representative of the following error:\r\r• Dialog Team ID verification failed\r\r" with title "Setup Your Mac: Error" buttons {"Close"} with icon caution'
osascript -e 'display dialog "Please advise your Support Representative of the following error:\r\r• Dialog Team ID verification failed\r\r" with title "Display Message via Dialog: Error" buttons {"Close"} with icon caution'
quitScript "1"

fi
Expand Down

0 comments on commit 7f3de02

Please sign in to comment.