X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=doc%2FREADME-DMG_creation.md;h=6542b7c9174d6fa446aa0fc0b50dc5fa0049e399;hb=a4fa4a904ff96b431c4cfc7b66a13ce2520e1958;hp=5ad5e8d4bb2730d72fe57867835c272de6ef5379;hpb=1dc6f88121e44199021b210169f7e0bab8c72b89;p=jalview.git diff --git a/doc/README-DMG_creation.md b/doc/README-DMG_creation.md index 5ad5e8d..6542b7c 100644 --- a/doc/README-DMG_creation.md +++ b/doc/README-DMG_creation.md @@ -3,17 +3,18 @@ ## New method to make the DS_Store file from scratch (on a Mac) ``` -./utils/install4j/mk_ds_store.sh +./utils/install4j/mk_ds_store.sh --name Jalview [--bgimg ./utils/channels/release/image/jalview_dmg_background.png] [--output ./utils/channels/release/image/jalview_dmg_DS_Store] ``` A script that creates a new DMG with the top level items to be found in a Jalview Installer DMG, mounts the volume, then uses an AppleScript to adjust the background image, size and position of the icons, and appearance of the Finder window. The .DS_Store is then copied out of the volume by the script, the volume unmounted, and all files (in /tmp) tidied up. -To use it, the NAME (of the application, without the `.app` extension) should be set in the script (set to "Jalview"), and the background image that you want to use should be copied to your working directory as `background.png`. +To use it, the NAME (of the application, without the `.app` extension) should be set in the script (set to "Jalview"), and the background image that you want to use should be copied to your working directory as `background.png` (or use the --bgimg option). -Once it is run (only works on a Mac with osascript) it will leave a file Jalview_Installer-DS_Store in your working directory. +Once it is run (only works on a Mac with osascript) it will leave a file Output-DS_Store in your working directory (or use the --output option). +> This script borrows extensively from https://github.com/create-dmg/create-dmg ## Old manual method (possibly instructive)