Create a good-looking DMG for your macOS app in seconds
Imagine you have finished a macOS app, exported it from Xcode, and now want to distribute it to users. The most common way of distributing an app outside the Mac App Store is by putting it in a
.dmg file. These are hard to create, especially good-looking ones. You can either pay for a GUI app where you have to customize an existing design or you can run some homebrewed Bash script and you still have to design it. This tool does everything for you, so you can play with your
This tool is intentionally opinionated and simple. I'm not interested in adding lots of options.
You might also find my
LaunchAtLogin project useful.
Ensure you have Node.js 4 or later installed. Then run the following:
$ 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