OptionaladditionalOptionalbackgroundPath to the background image for the DMG window. Image should be of size 658x498.
If you need to want to add a second Retina-compatible size, add a separate @2x image.
For example, if your image is called background.png, create a background@2x.png that is
double the size.
OptionalcontentsThe content that will appear in the window when user opens the .dmg file.
OptionalformatDisk image format.
Must be one of the following:
UDRW -> read/write imageUDRO -> read-only imageUDCO -> ADC-compressed imageUDZO -> zlib-compressed imageUDBZ -> bzip2-compressed imageULFO -> lzfse-compressed image (macOS 10.11+ only)OptionaliconPath to the icon to use for the app in the DMG window.
OptionaliconHow big to make the icon for the app in the DMG.
OptionalnameOptionaloverwriteOverwrite an existing DMG file if if already exists.
OptionaltitleThe title of the produced DMG, which will be shown when mounted.
the application name
Additional options to pass through to
appdmgYou can use this to set additional features like
background-colorandcode-sign. See the docs of theappdmgmodule for all possible options.