JAL-3393 New DS_Store with slightly bigger Finder window (in case of Path bar, Status... improvement/JAL-3393_DMG_Finder_window_improvements
authorBen Soares <bsoares@dundee.ac.uk>
Thu, 1 Aug 2019 15:08:00 +0000 (16:08 +0100)
committerBen Soares <bsoares@dundee.ac.uk>
Thu, 1 Aug 2019 15:08:00 +0000 (16:08 +0100)
utils/install4j/DS_Store
utils/install4j/DS_Store_4 [new file with mode: 0644]
utils/install4j/mk_DS_STORE_cmds [new file with mode: 0644]

index 21fc79e..cada68d 100644 (file)
Binary files a/utils/install4j/DS_Store and b/utils/install4j/DS_Store differ
diff --git a/utils/install4j/DS_Store_4 b/utils/install4j/DS_Store_4
new file mode 100644 (file)
index 0000000..cada68d
Binary files /dev/null and b/utils/install4j/DS_Store_4 differ
diff --git a/utils/install4j/mk_DS_STORE_cmds b/utils/install4j/mk_DS_STORE_cmds
new file mode 100644 (file)
index 0000000..b03657a
--- /dev/null
@@ -0,0 +1,22 @@
+## ALSO SEE https://www.ej-technologies.com/resources/install4j/help/doc/#install4j.concepts.dmgStyling
+
+cp ../../build/install4j/11/Jalview-OFFLINE_macos-app_DEVELOPMENT-j11.dmg ./temp.dmg
+
+hdiutil convert temp.dmg -format UDRW -o temp_rw.dmg
+
+CURSIZE=`hdiutil resize temp_rw.dmg | perl -n -e 'm/^\s*\d+\s+(\d+)\s+\d+$/ && print "$1\n";'`
+
+NEWSIZE=$(( CURSIZE + 20000))
+
+hdiutil resize -sectors $NEWSIZE temp_rw.dmg
+
+open /Volumes/Jalview\ Installer
+
+
+### Position/resize icons, extend size of Finder window, etc
+
+
+cp /Volumes/Jalview\ Installer/.DS_Store ./DS_Store_N
+
+umount /Volumes/Jalview\ Installer
+