Skip to content

Commit

Permalink
mistake file name
Browse files Browse the repository at this point in the history
  • Loading branch information
saivivek116 committed Apr 19, 2024
1 parent 578e3d6 commit bcf1f12
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 bcf1f12

Please sign in to comment.