"scripts": {
"start": "electron .",
"pack": "electron-builder --dir",
"dist": "electron-builder"
},
"build": {
"appId": "xxxx",
"win": {
"target": "nsis",
"publisherName": "xxxx"
},
"mac": {
"category": "public.app-category.social-networking"
},
"dmg": {
"contents": [
{
"x": 110,
"y": 150
},
{
"x": 240,
"y": 150,
"type": "link",
"path": "/Applications"
}
]
}
},
这是我的package.json
我可以看到Mac文件,例如dmg或.app文件,但看不到生成的Windows exe或安装程序文件。