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. You can only build the DMG target on macOS machines.
Configuration options are documented in MakerDMGConfig
.
{name: '@electron-forge/maker-dmg',config: {background: './assets/dmg-background.png',format: 'ULFO'}}