尝试在Mac上建立Electron时找不到Windows可执行文件

时间:2018-08-01 16:09:08

标签: electron electron-builder

"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或安装程序文件。

0 个答案:

没有答案
相关问题