使用yarn,如何编译打包electron?
"build": {
"appId": "your.id",
"mac": {
"category": "your.app.category.type"
}
},
"scripts": {
"pack": "electron-builder --dir",
"dist": "electron-builder --win --x64",
"postinstall": "electron-builder install-app-deps"
}