在package.json的build中配置dmg打开以后的一些配置
"dmg": {
"sign": false,
"contents": [
{
"x": 410,
"y": 150,
"type": "link",
"path": "/Applications"
},
{
"x": 130,
"y": 150,
"type": "file"
}
]
},
在build下的Mac中配置
"mac": {
"target": [
"dmg",
"pkg"
]
},