From: Ben Soares Date: Fri, 24 Jan 2020 17:11:10 +0000 (+0000) Subject: JAL-3394 Removed libjli.dylib symbolic link from embedded macOS JRE, works in 8 and... X-Git-Tag: Develop-2_11_2_0-d20201215~80^2~22 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=a770e3a56aaa5da7e6e88faa199ae9882339489a;p=jalview.git JAL-3394 Removed libjli.dylib symbolic link from embedded macOS JRE, works in 8 and 11. Preparation for non-linked Uninstall.app in DMG --- 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 0000000..afa9a35 Binary files /dev/null and b/utils/install4j/DS_Store_no_link differ 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); - - - - - + + + +