Skip to content

Commit

Permalink
Merge pull request #505 from ESIPFed/pass-setup-mac
Browse files Browse the repository at this point in the history
typo fix ~ resetpassword
  • Loading branch information
gokulprathin8 authored Apr 19, 2024
2 parents 52b9e76 + bcf1f12 commit d6cdef8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion macos-deployment/make-app.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ DIR=\$(dirname "\$0")
if [ ! -f "\$DIR/.password_set" ]; then
PASSWORD=\$(osascript -e 'Tell application "System Events" to display dialog "Password Setup Required\n\nPlease set a password for Geoweaver. This password is required for accessing and using Geoweaver securely.\n\nEnter your new password:" default answer "" with title "Geoweaver Setup" with hidden answer' -e 'text returned of result' 2>/dev/null)
if [ -n "\$PASSWORD" ]; then
nohup java -jar "\$DIR/../Java/app.jar" resetpassword -p "\$PASSWORD" > /dev/null 2>&1 &
nohup java -jar "\$DIR/../Java/geoweaver.jar" resetpassword -p "\$PASSWORD" > /dev/null 2>&1 &
touch "\$DIR/.password_set"
else
echo "No password entered. Exiting."
Expand Down

0 comments on commit d6cdef8

Please sign in to comment.