Create a DMG from an app (macOS)
This tool is intentionally opinionated and simple. I'm not interested in adding lots of options.
$ npm install --global create-dmg
$ create-dmg --help Usage $ create-dmg <app> Example $ create-dmg 'Lungo.app'
The DMG requires macOS 10.11 or later and has the filename
appName-appVersion.dmg, for example
It will try to code sign the DMG, but the DMG is still created and fine even if the code signing fails, for example if you don't have a developer certificate.
MIT © Sindre Sorhus