create-dmg
在几秒钟内为macOS应用程序创建一个好看的DMG
假设您完成了一个macOS应用程序,从Xcode中导出,现在想要分发给用户。在Mac应用程序商店之外发布应用程序最常见的方式是将其放在。dmg文件中。这些是很难创造的,尤其是漂亮的。
Install
Ensure you have Node.js 8 or later installed. Then run the following:
$ npm install --global create-dmg
Usage
$ create-dmg --help
Usage
$ create-dmg <app> [destination]
Options
--overwrite Overwrite existing DMG with the same name
--identity=<value> Manually set code signing identity (automatic by default)
--dmg-title=<value> Manually set DMG title (must be <=27 characters) [default: App name]
Examples
jax-2:~ jax$ cd /Users/jax/Desktop/CreateDmg
jax-2:CreateDmg jax$ create-dmg /Users/jax/Desktop/CreateDmg/扭力测试.app
结果如下


网友评论