diff --git a/macos-deployment/make-app.sh b/macos-deployment/make-app.sh index bad2f649d..71c111ad1 100755 --- a/macos-deployment/make-app.sh +++ b/macos-deployment/make-app.sh @@ -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."