Create a good-looking DMG for your macOS app in seconds
Go to file
Sindre Sorhus 721e666d95 Clarify about code signing in the readme 2017-03-29 13:51:35 +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 Init 2017-03-28 00:35:11 +07:00
.gitattributes Init 2017-03-28 00:35:11 +07:00
.gitignore Init 2017-03-28 00:35:11 +07:00
.travis.yml Init 2017-03-28 00:35:11 +07:00
cli.js More gracefully handle code signing failure 2017-03-29 13:45:45 +07:00
license Init 2017-03-28 00:35:11 +07:00
package.json 1.2.0 2017-03-29 13:47:42 +07:00
readme.md Clarify about code signing in the readme 2017-03-29 13:51:35 +07:00
screenshot-cli.gif Init 2017-03-28 00:35:11 +07:00
screenshot-dmg.png Init 2017-03-28 00:35:11 +07:00
test.js Make the DMG name URL friendly 2017-03-28 02:17:47 +07:00

readme.md

create-dmg Build Status

Create a DMG from an app (macOS)

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

Install

$ npm install --global create-dmg

Usage

$ create-dmg --help

  Usage
    $ create-dmg <app>

  Example
    $ create-dmg 'Lungo.app'

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