From a770e3a56aaa5da7e6e88faa199ae9882339489a Mon Sep 17 00:00:00 2001 From: Ben Soares Date: Fri, 24 Jan 2020 17:11:10 +0000 Subject: [PATCH] JAL-3394 Removed libjli.dylib symbolic link from embedded macOS JRE, works in 8 and 11. Preparation for non-linked Uninstall.app in DMG --- build.gradle | 2 ++ utils/install4j/DMG_creation_README.md | 4 +++- utils/install4j/DS_Store_no_link | Bin 0 -> 12292 bytes utils/install4j/dmg_nolink_install4j8_template.install4j | 11 +++++++++++ utils/install4j/install4j8_template.install4j | 12 +++++++----- 5 files changed, 23 insertions(+), 6 deletions(-) create mode 100644 utils/install4j/DS_Store_no_link create mode 100644 utils/install4j/dmg_nolink_install4j8_template.install4j diff --git a/build.gradle b/build.gradle index ad49dfc..810eb57 100644 --- a/build.gradle +++ b/build.gradle @@ -1299,6 +1299,7 @@ task installers(type: com.install4j.gradle.Install4jTask) { def install4jBuildDir = "${install4j_build_dir}/${JAVA_VERSION}" variables = [ + 'JALVIEW_DIR': "../..", 'OSX_KEYSTORE': OSX_KEYSTORE, 'JSIGN_SH': JSIGN_SH, 'JRE_DIR': getdown_app_dir_java, @@ -1317,6 +1318,7 @@ task installers(type: com.install4j.gradle.Install4jTask) { 'LINUX_JAVA_VM_TGZ': linuxJavaVMTgz, 'COPYRIGHT_MESSAGE': install4j_copyright_message, 'MACOS_BUNDLE_ID': install4j_macOS_bundle_id, + 'INSTALL4J_UTILS_DIR': install4j_utils_dir, 'GETDOWN_WEBSITE_DIR': getdown_website_dir, 'GETDOWN_FILES_DIR': getdown_files_dir, 'GETDOWN_RESOURCE_DIR': getdown_resource_dir, diff --git a/utils/install4j/DMG_creation_README.md b/utils/install4j/DMG_creation_README.md index c923557..eeb10d4 100644 --- a/utils/install4j/DMG_creation_README.md +++ b/utils/install4j/DMG_creation_README.md @@ -2,7 +2,7 @@ ## How to make the DS_Store file needed for the DMG prettification -> ALSO SEE https://www.ej-technologies.com/resources/install4j/help/doc/#install4j.concepts.dmgStyling +> ALSO SEE https://www.ej-technologies.com/resources/install4j/help/doc/concepts/dmgStyling.html ``` cp ../../build/install4j/11/Jalview-OFFLINE_macos-app_DEVELOPMENT-j11.dmg ./temp.dmg @@ -15,6 +15,8 @@ NEWSIZE=$(( CURSIZE + 20000)) hdiutil resize -sectors $NEWSIZE temp_rw.dmg +open temp_rw.dmg + open /Volumes/Jalview\ Installer ``` diff --git a/utils/install4j/DS_Store_no_link b/utils/install4j/DS_Store_no_link new file mode 100644 index 0000000000000000000000000000000000000000..afa9a350084eb7122de759f7a3ed93d975dfe941 GIT binary patch literal 12292 zcmeHNU2NOd6+U$2R{lvs$M%|}8AdEgn_`hg*|KCQEov)@XBX=n#Q87NGGkLF;uonLz&Vc zUB}O-djP+~pnj<2%ncZ|nr-nhRyV3<(RqHrwG1=1=vF-IkeJ!}Xb%epsT$rf3_v{^(X4FeeVmY(_wlsE8t|(U zj{^ThV&x|GOyX7>ye8+cm2JG4x|+1XOT>%qw@1J861wzA{54=j7)CF(QD%eDW}75r z>0S!mMk(9`=gAWmTp_SK!N7j7JcOXZ|!UZ$A%=kzmmyG3diLuzw zVLcbiq{a`&^kh0Wb|jroj${Ud`5AJKA7R14TzRI!eqF)D*+u6)I8nFUI&iRm#kym- zR$cVv^QRp50#qyd&Q!ccKhs*UY^T%N3>uIWjUyo=00C&zq|?Y{9eU zY6W+305OWlOYuIhU>wJue*k|7z739IZ9BmSz>k9`z<~~9E&G4zXKaOQ=TAMnU+5#~ z|M9W6d5MkjAEZ{-)o=8FwXOO5^)IZiueQ{G`J->H>;K5l{rUl1gV*y4=K3c1D)<`s zUGOdNhu}}Z-B8RPaFY#u_cxzBwh+u$v_n>~kMEo?c5+*@t#xx9lYZJLRjQs-pVcPv z!FXC7`^%qkUdVxvvFm^T@h#K?8%yO!4kyQx$yjoHJP{ij8_LH<^7&M3IF%b8%Vlz@ zd?p##*w^_w;8q*sHokrwSh`kr+v*%mhMEL(iBax>-sLmxqRnX|rq< zbz}Iy7(XLimVvWAIFc@!gDDX|&$IQ%rOn3|Ve4@id0ZNI5IDz$F~=Jw9Eah?n++E0 zd>_nlG~ZiHY!D{WgM?GHQ{?da_4=-SrR z@$B@hvpDS;-h4f0xCM33bj3vS#649pz1ibd^@xpUN_EQpis4!AGu-*OzR)A~UzIh0yj>WD^nJvx5ux%qE=`}H^8`u^KLxb6=TRxJkm4;2B$;RcR( z(MyZYJE8M3qInCM0Sj@x2W+m_xRP(t_@-l8-_`eBw8;w zz0Kh>Hu-hG4*a_J0>3T_+8SN&)it|YzT5WiyKsD+XhGctcTLX-H!aOBTQV~Ymn}WA zv=og#v_J9093^y2Hjxo*lhvpW5I5xrcV{>Up@J_9A?dAJz^#w&UjPdFxr*C|dSZHRpJqGxyAlTQR3= z9DvQ7_N?c<>BvCi1GzjY ztlzGd$ak&B{ULvk*82MOPOUV*)&{hNvqPBIL_8~UR9P9NXE`I4MUO|P*z0g z*+!I}g@A1HT(=>C*M*qN!nfEOzQwxuGCLr@%x*^lvYVb3UuQWY^6+)GPP2%ECMb_D zuH#}3jZ6X0;a|!W^pb+iNI%xKjV+ZK_t$Z`@+dtWSeVDNPm;j{Cy+KaBs`4*bL~iUXW& zK7w2n5{8@o|Bt(d6lx&U!2hWRlt_L$pTpvmyDX5MC=GlL%*6ec{Zb6Uq2Xr%i;oH@ mrHd%~kD@z|TlPyJ(Et2T0KsRa@ckd=|IHO)gP+y>|33jZrWZi~ literal 0 HcmV?d00001 diff --git a/utils/install4j/dmg_nolink_install4j8_template.install4j b/utils/install4j/dmg_nolink_install4j8_template.install4j new file mode 100644 index 0000000..74f3839 --- /dev/null +++ b/utils/install4j/dmg_nolink_install4j8_template.install4j @@ -0,0 +1,11 @@ + + diff --git a/utils/install4j/install4j8_template.install4j b/utils/install4j/install4j8_template.install4j index 08dd02e..477e428 100644 --- a/utils/install4j/install4j8_template.install4j +++ b/utils/install4j/install4j8_template.install4j @@ -28,6 +28,7 @@ + @@ -1117,6 +1118,7 @@ return console.askYesNo(message, true); + @@ -1133,6 +1135,7 @@ return console.askYesNo(message, true); + @@ -1149,11 +1152,10 @@ return console.askYesNo(message, true); - - - - - + + + + -- 1.7.10.2