Skip to main content
Version: Next

DMG

The DMG target builds .dmg files, which are the standard format for sharing macOS apps. The DMG acts like a zip file, but provides an easy way for users to take the app and put it in the /Applications directory.

caution

You can only build the DMG target on macOS machines.

Configuration options are documented in MakerDMGConfig.

Usage

{
name: '@electron-forge/maker-dmg',
config: {
background: './assets/dmg-background.png',
format: 'ULFO'
}
}