From: Ben Soares Date: Thu, 1 Aug 2019 15:08:00 +0000 (+0100) Subject: JAL-3393 New DS_Store with slightly bigger Finder window (in case of Path bar, Status... X-Git-Tag: Develop-2_11_2_0-d20201215~80^2~28^2~31^2 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=refs%2Fheads%2Fimprovement%2FJAL-3393_DMG_Finder_window_improvements;p=jalview.git JAL-3393 New DS_Store with slightly bigger Finder window (in case of Path bar, Status bar, scroll bar) and definitely out-of-window .background folder --- diff --git a/utils/install4j/DS_Store b/utils/install4j/DS_Store index 21fc79e..cada68d 100644 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 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 index 0000000..b03657a --- /dev/null +++ b/utils/install4j/mk_DS_STORE_cmds @@ -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 +