{
  "appId": "com.meilan.app",
  "productName": "美兰机场应用",
  "directories": {
    "output": "dist_electron",
    "buildResources": "build"
  },
  "files": [
    "dist/build/h5/**/*",
    "electron/**/*",
    "!**/node_modules/**/*"
  ],
  "extraResources": [
    {
      "from": "dist/build/h5",
      "to": "app/dist/build/h5",
      "filter": ["**/*"]
    }
  ],
  "mac": {
    "category": "public.app-category.productivity",
    "icon": "dist/build/h5/static/pc.png"
  },
  "win": {
    "target": [
      {
        "target": "nsis",
        "arch": ["x64"]
      }
    ],
    "icon": "dist/build/h5/static/pc.png"
  },
  "nsis": {
    "oneClick": false,
    "allowToChangeInstallationDirectory": true,
    "createDesktopShortcut": true,
    "createStartMenuShortcut": true,
    "shortcutName": "美兰机场应用"
  },
  "publish": {
    "provider": "generic",
    "url": "http://your-update-server.com/updates"
  }
}