def install4jBuildDir = "${install4j_build_dir}/${JAVA_VERSION}"
variables = [
+ 'JALVIEW_DIR': "../..",
'OSX_KEYSTORE': OSX_KEYSTORE,
'JSIGN_SH': JSIGN_SH,
'JRE_DIR': getdown_app_dir_java,
'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,
## 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
hdiutil resize -sectors $NEWSIZE temp_rw.dmg
+open temp_rw.dmg
+
open /Volumes/Jalview\ Installer
```
--- /dev/null
+ <symlink name="Uninstall Old Jalview (optional).app" target="Jalview.app/Contents/Resources/app/Uninstall Old Jalview.app" />
+ <!--
+ <file name="Uninstall Old Jalview (optional).app/Contents/_CodeSignature/CodeResources" file="${compiler:JALVIEW_DIR}/${compiler:INSTALL4J_UTILS_DIR}/Uninstall Old Jalview.app/Contents/_CodeSignature/CodeResources" />
+ <file name="Uninstall Old Jalview (optional).app/Contents/MacOS/applet" file="${compiler:JALVIEW_DIR}/${compiler:INSTALL4J_UTILS_DIR}/Uninstall Old Jalview.app/Contents/MacOS/applet" />
+ <file name="Uninstall Old Jalview (optional).app/Contents/Resources/applet.rsrc" file="${compiler:JALVIEW_DIR}/${compiler:INSTALL4J_UTILS_DIR}/Uninstall Old Jalview.app/Contents/Resources/applet.rsrc" />
+ <file name="Uninstall Old Jalview (optional).app/Contents/Resources/description.rtfd/TXT.rtf" file="${compiler:JALVIEW_DIR}/${compiler:INSTALL4J_UTILS_DIR}/Uninstall Old Jalview.app/Contents/Resources/description.rtfd/TXT.rtf" />
+ <file name="Uninstall Old Jalview (optional).app/Contents/Resources/Scripts/main.scpt" file="${compiler:JALVIEW_DIR}/${compiler:INSTALL4J_UTILS_DIR}/Uninstall Old Jalview.app/Contents/Resources/Scripts/main.scpt" />
+ <file name="Uninstall Old Jalview (optional).app/Contents/Resources/applet.icns" file="${compiler:JALVIEW_DIR}/${compiler:INSTALL4J_UTILS_DIR}/Uninstall Old Jalview.app/Contents/Resources/applet.icns" />
+ <file name="Uninstall Old Jalview (optional).app/Contents/Info.plist" file="${compiler:JALVIEW_DIR}/${compiler:INSTALL4J_UTILS_DIR}/Uninstall Old Jalview.app/Contents/Info.plist" />
+ <file name="Uninstall Old Jalview (optional).app/Contents/PkgInfo" file="${compiler:JALVIEW_DIR}/${compiler:INSTALL4J_UTILS_DIR}/Uninstall Old Jalview.app/Contents/PkgInfo" />
+ -->
<variable name="LINUX_JAVA_VM_TGZ" value="~/buildtools/jre/tgz/jre-${compiler:JAVA_INTEGER_VERSION}-linux-x64.tar.gz" />
<variable name="COPYRIGHT_MESSAGE" value="..." />
<variable name="MACOS_BUNDLE_ID" value="org.jalview.jalview-desktop" />
+ <variable name="INSTALL4J_UTILS_DIR" value="utils/install4j" />
<variable name="GETDOWN_WEBSITE_DIR" value="getdown/website" />
<variable name="GETDOWN_FILES_DIR" value="getdown/files" />
<variable name="GETDOWN_RESOURCE_DIR" value="resource" />
<entry filesetId="880" />
<entry filesetId="882" />
<entry filesetId="1873" />
+ <entry filesetId="2105" />
</exclude>
<jreBundle jreBundleSource="preCreated" includedJre="${compiler:WINDOWS_JAVA_VM_TGZ}" manualJreEntry="true" />
</windows>
<entry filesetId="880" />
<entry filesetId="882" />
<entry filesetId="1873" />
+ <entry filesetId="2105" />
</exclude>
<jreBundle jreBundleSource="preCreated" includedJre="${compiler:WINDOWS_JAVA_VM_TGZ}" manualJreEntry="true" />
</windows>
</exclude>
<topLevelFiles>
<symlink name="" "" target="/Applications" />
- <file name=".background/jalview_dmg_background.png" file="./jalview_dmg_background.png" />
- <file name=".DS_Store" file="./DS_Store" />
- <symlink name="Jalview.app/Contents/Resources/app/${compiler:JRE_DIR}/Contents/MacOS/libjli.dylib" target="../Home/lib/jli/libjli.dylib" />
- <file name="Jalview.app/Contents/Resources/Jalview-File.icns" file="./Jalview-File.icns" />
- <file name="Jalview.app/Contents/Resources/Jalview-Launch.icns" file="Jalview-Launch.icns" />
+ <file name=".background/jalview_dmg_background.png" file="${compiler:JALVIEW_DIR}/${compiler:INSTALL4J_UTILS_DIR}/jalview_dmg_background.png" />
+ <file name=".DS_Store" file="${compiler:JALVIEW_DIR}/${compiler:INSTALL4J_UTILS_DIR}/DS_Store" />
+ <file name="Jalview.app/Contents/Resources/Jalview-File.icns" file="${compiler:JALVIEW_DIR}/${compiler:INSTALL4J_UTILS_DIR}/Jalview-File.icns" />
+ <file name="Jalview.app/Contents/Resources/Jalview-Launch.icns" file="${compiler:JALVIEW_DIR}/${compiler:INSTALL4J_UTILS_DIR}/Jalview-Launch.icns" />
<symlink name="Uninstall Old Jalview (optional).app" target="Jalview.app/Contents/Resources/app/Uninstall Old Jalview.app" />
</topLevelFiles>
</macosArchive>