【发布时间】:2019-03-22 14:40:13
【问题描述】:
这里提到https://github.com/LinusU/node-appdmg 创建dmg。
我没有为“代码签名”添加任何示例。
有没有人用它来创建 dmg 可以帮助我知道在这两个占位符中提供什么?第二个是可选的,我仍然想知道。
{
"title": "My App",
"icon": "app.icns",
"icon-size": 108,
"background": "Resources/SplashScreen/dmg-background.png",
"contents": [
{ "x": 450, "y": 150, "type": "link", "path": "/Applications" },
{ "x": 150, "y": 150, "type": "file", "path": "/My App.app" }
],
"code-sign": [
{ "signing-identity" : ""},
{ "identifier" : ""}
]
}
【问题讨论】:
标签: macos code-signing dmg