Create a good-looking DMG for your macOS app in seconds
Go to file
Lohoris 6c460000d8 Add destination directory argument (#17) 2018-04-29 18:57:59 +07:00
assets Init 2017-03-28 00:35:11 +07:00
fixture.app/Contents Init 2017-03-28 00:35:11 +07:00
stuff Init 2017-03-28 00:35:11 +07:00
.editorconfig Meta tweaks 2017-10-23 19:35:26 +07:00
.gitattributes Init 2017-03-28 00:35:11 +07:00
.gitignore Meta tweaks 2017-10-23 19:35:26 +07:00
.npmrc Meta tweaks 2017-10-23 19:35:26 +07:00
.travis.yml Meta tweaks 2017-10-23 19:35:26 +07:00
cli.js Add destination directory argument (#17) 2018-04-29 18:57:59 +07:00
license Meta tweaks 2017-10-23 19:35:26 +07:00
package.json 2.0.0 2017-10-23 19:36:17 +07:00
readme.md Add destination directory argument (#17) 2018-04-29 18:57:59 +07:00
screenshot-cli.gif Improve description and CLI screenshot 2017-03-31 19:46:41 +07:00
screenshot-dmg.png Init 2017-03-28 00:35:11 +07:00
test.js Correctly silence code signing failure in the tests 2017-03-31 19:52:13 +07:00

readme.md

create-dmg Build Status

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 🐈 instead.

Discuss it on Product Hunt and Twitter.

This tool is intentionally opinionated and simple. I'm not interested in adding lots of options.

You might also find my LaunchAtLogin project useful.

Install

Ensure you have Node.js 4 or later installed. Then run the following:

$ npm install --global create-dmg

Usage

$ create-dmg --help

	Usage:
	  $ create-dmg <app> [destination]
	
	Examples:
	  $ create-dmg 'Lungo.app'
	  $ create-dmg 'Lungo.app' Build/Releases/

DMG

The DMG requires macOS 10.11 or later and has the filename appName-appVersion.dmg, for example Lungo-1.0.0.dmg.

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.

License

MIT © Sindre Sorhus