2017-03-27 14:09:27 +00:00
|
|
|
# create-dmg [![Build Status](https://travis-ci.org/sindresorhus/create-dmg.svg?branch=master)](https://travis-ci.org/sindresorhus/create-dmg)
|
|
|
|
|
|
|
|
> Create a [DMG](https://en.m.wikipedia.org/wiki/Apple_Disk_Image) from an app *(macOS)*
|
|
|
|
|
|
|
|
<img src="screenshot-cli.gif" width="529">
|
|
|
|
|
|
|
|
*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
|
|
|
|
|
2017-03-27 19:17:28 +00:00
|
|
|
The created DMG is code signed, requires macOS 10.11 or later, and has the filename `appName-appVersion.dmg`, for example `Lungo-1.0.0.dmg`.
|
2017-03-27 14:09:27 +00:00
|
|
|
|
|
|
|
<img src="screenshot-dmg.png" width="772">
|
|
|
|
|
|
|
|
|
|
|
|
## License
|
|
|
|
|
|
|
|
MIT © [Sindre Sorhus](https://sindresorhus.com)
|