From dbd4bd0063bd3536659af748aaae921ec831f825 Mon Sep 17 00:00:00 2001 From: Bill Somerville Date: Wed, 18 Nov 2015 23:55:39 +0000 Subject: [PATCH] Tidy up OS X installer DMG root folder after removing KVASD installer Also updated developer instrutions for modifying the DMG root folder .DS_Store file. git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6130 ab8295b8-cf94-4d9e-aec4-7959e3be5d79 --- Darwin/developer read me.txt | 20 ++++++++++---------- Darwin/wsjtx_DMG.DS_Store | Bin 15364 -> 15364 bytes 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/Darwin/developer read me.txt b/Darwin/developer read me.txt index ceda7c7b5..9c472db98 100644 --- a/Darwin/developer read me.txt +++ b/Darwin/developer read me.txt @@ -3,7 +3,7 @@ Changing the content of the DragNDrop DMG root folder. The files and links in this folder are populated by the WSJT-X CMake build script. There are install commands which are only run on Apple hosts, this is important because they will get installed at the install root on other platforms, which would be very bad on Linux for example since that is /usr normally! -The symlink to /Applications, the background image (derived from "~/src/wsjtx/artwork/DragNDrop Background.svg") and, the custom .DS_Store file ("~/src/wsjtx_DMG.DS_Store") are all handled specifically by the CPack DragNDrop packager so you don't need to install those. +The symlink to /Applications, the background image (derived from ".../artwork/DragNDrop Background.svg") and, the custom .DS_Store file (".../Darwin/wsjtx_DMG.DS_Store") are all handled specifically by the CPack DragNDrop packager so you don't need to install those. @@ -37,10 +37,10 @@ hdiutil resize -sectors 110000 rw.dmg hdiutil attach rw.dmg # change the hidden attribute on the background PNG -chflags nohidden /Volumes/wsjtx-1.7.0-rc1-Darwin/background.png +chflags nohidden /Volumes/WSJT-X/background.png # make the .DS_Store file writeable -chmod 644 /Volumes/wsjtx-1.7.0-rc1-Darwin/.DS_Store +chmod 644 /Volumes/WSJT-X/.DS_Store # now you can change Finder view options, rearrange icons etc. Remember that you are # only changing the folder options, not the folder content as that is controlled by @@ -52,19 +52,19 @@ chmod 644 /Volumes/wsjtx-1.7.0-rc1-Darwin/.DS_Store # changes are saved. # set the background PNG as a hidden file -chflags hidden /Volumes/wsjtx-1.7.0-rc1-Darwin/background.png +chflags hidden /Volumes/WSJT-X/background.png # make the .DS_Store file read only -chmod 444 /Volumes/wsjtx-1.7.0-rc1-Darwin/.DS_Store +chmod 444 /Volumes/WSJT-X/.DS_Store # update the custom .DS_Store file in the source repository (NOTE the file name) -cp /Volumes/wsjtx-1.7.0-rc1-Darwin/.DS_Store ~/src/wsjtx/wsjtx_DMG.DS_Store +cp /Volumes/WSJT-X/.DS_Store .../wsjtx/wsjtx_DMG.DS_Store + +# dismount and eject the R/W DMG and discard it +hdiutil detach /Volumes/WSJT-X +rm rw.dmg # build a new package and try out the new installer to test your changes # if all is well commit the changes -# dismount and eject the R/W DMG and discard it -hdiutil detach /Volumes/wsjtx-1.7.0-rc1-Darwin -rm rw.dmg - # That's all Folks! diff --git a/Darwin/wsjtx_DMG.DS_Store b/Darwin/wsjtx_DMG.DS_Store index 55e74587ff443b493febc835428eba181fb523b9..6c324f13b453ff4401049e1b80c5565821cb76f1 100644 GIT binary patch delta 95 zcmZpvXsMXs&&abeU^hP_&tx6}V*%kgu0{~+t7Ulo| delta 162 zcmZpvXsMXs&&azmU^hP_?_?eUV=E3TB2TwY8j_ z92^1+o7W43^Z2tdFfcCuV^~o9|33o=2s3yygfTcW1T(lW=rUw7kX^t~;F*)3oRpKF1k@qGz`#@iG=&9dO7~=b*+kAtAaCP8i5>2nD`h>HHnS`I Gl?DK87ANfh