X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=utils%2Fdev_macos_install.sh;h=6f17315000b132882e6041dfc44c1390919f7f12;hb=refs%2Fheads%2FJalview-JS%2Fdevelop;hp=61155c273d8c6bd905b0c1e3b9fff0f3dbc68f2b;hpb=797296a31f6cb12c2c7fc990d39966f07b600862;p=jalview.git diff --git a/utils/dev_macos_install.sh b/utils/dev_macos_install.sh index 61155c2..6f17315 100755 --- a/utils/dev_macos_install.sh +++ b/utils/dev_macos_install.sh @@ -4,11 +4,15 @@ INSTALLERVOL="Jalview Installer" APP=Jalview.app -APPLICATIONS=/Applications +APPLICATIONS=$HOME/Applications CHANNEL=NOCHANNEL DMG=build/install4j/11/Jalview-OFFLINE_macos-app_DEVELOPMENT-j11.dmg -gradle installers -Pgetdown_channel_name=NOCHANNEL -Pinstall4jMediaTypes=macosArchive -Pgetdown_local=true +if [ x$1 != "xnogradle" ]; then + gradle installers -PCHANNEL=LOCAL -Pinstall4j_media_types=macosArchive +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