JAL-3335 much improved getdown background images
[jalview.git] / utils / dev_macos_install.sh
index 61155c2..5eadf0d 100755 (executable)
@@ -6,9 +6,13 @@ APP=Jalview.app
 
 APPLICATIONS=/Applications
 CHANNEL=NOCHANNEL
-DMG=build/install4j/11/Jalview-OFFLINE_macos-app_DEVELOPMENT-j11.dmg
+DMG=build/install4j/1.8/Jalview-OFFLINE_macos-app_DEVELOPMENT-j8.dmg
 
-gradle installers -Pgetdown_channel_name=NOCHANNEL -Pinstall4jMediaTypes=macosArchive -Pgetdown_local=true
+if [ $1 != "nogradle" ]; then
+  gradle installers -Pgetdown_channel_name=NOCHANNEL -Pinstall4jMediaTypes=macosArchive -Pgetdown_local=true -Pdev=true
+else
+  echo "Not running gradle installers"
+fi
 
 if [ $? = 0 ]; then
   umount "/Volumes/$INSTALLERVOL"
@@ -19,8 +23,12 @@ if [ $? = 0 ]; then
     exit 1
   fi
   echo "Mounting '$DMG' at /Volumes"
+  N=0
   while [ \! -e "/Volumes/$INSTALLERVOL/$APP" ]; do
-    echo -n "."
+    if [ $(( N%1000 )) = 0 ]; then
+      echo -n "."
+    fi
+    N=$(( N+1 ))
   done
   echo ""
 fi