Using electron-builder
All builds produced by electron-builder
can be found within the dist
folder.
npm run build
Useful for quick testing.
npm run build:dir
Further customization can be made at package.json
in accordance to electron-builders
's options found here.
{
"productName": "ElectronVue",
"appId": "org.simulatedgreg.electron-vue",
"category": "public.app-category.tools",
"dmg": {
"contents": [
{
"x": 410,
"y": 150,
"type": "link",
"path": "/Applications"
},
{
"x": 130,
"y": 150,
"type": "file"
}
]
},
"files": [
"dist/",
"node_modules/",
"package.json"
],
"mac": {
"icon": "app/icons/icon.icns"
},
"win": {
"icon": "app/icons/icon.ico"
},
"linux": {
"target": [
"AppImage"
]
}
}