Skip to content

Latest commit

 

History

History
61 lines (51 loc) · 1.08 KB

using-electron-builder.md

File metadata and controls

61 lines (51 loc) · 1.08 KB

All builds produced by electron-builder can be found within the dist folder.

Building

npm run build

Building unpacked directory

Useful for quick testing.

npm run build:dir

Default building configurations

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"
    ]
  }
}