<macConfig>
<!-- general properties -->
<generateDmg>true|false</generateDmg>
<generatePkg>true|false</generatePkg>
<!-- properties used in DMG disk image generation -->
<backgroundImage>path/to/png</backgroundImage>
<windowX>x</windowX>
<windowY>y</windowY>
<windowWidth>width</windowWidth>
<windowHeight>height</windowHeight>
<iconSize>size</iconSize>
<textSize>size</textSize>
<iconX>x</iconX>
<iconY>y</iconY>
<appsLinkIconX>x</appsLinkIconX>
<appsLinkIconY>y</appsLinkIconY>
<volumeIcon>path/to/icns</volumeIcon>
<volumeName>${name}</volumeName>
</macConfig>
Property | Mandatory | Default value | Description |
---|---|---|---|
generateDmg |
❌ | true |
Enables DMG disk image file generation. |
generatePkg |
❌ | true |
Enables installation package generation. |
Property | Mandatory | Default value | Description |
---|---|---|---|
backgroundImage |
❌ | classpath:/mac/background.png |
DMG background image. |
windowX |
❌ | 10 |
X coordinate of DMG window. |
windowY |
❌ | 50 |
Y coordinate of DMG window. |
windowWidth |
❌ | 540 |
Width of DMG window. |
windowHeight |
❌ | 360 |
Height of DMG window. |
iconSize |
❌ | 128 |
DMG icons size. |
textSize |
❌ | 16 |
DMG text size. |
iconX |
❌ | 52 |
X coordinate of bundled app icon. Relative to DMG window. |
iconY |
❌ | 116 |
Y coordinate of bundled app icon. Relative to DMG window. |
appsLinkIconX |
❌ | 360 |
X coordinate of Applications link. Relative to DMG window. |
appsLinkIconY |
❌ | 116 |
Y coordinate of Applications link. Relative to DMG window. |
volumeIcon |
❌ | ${icon} |
Bundled app icon in ICNS format. |
volumeName |
❌ | ${displayName} |
Volume name. |