电子伪造v6图标

时间:2019-04-15 00:06:34

标签: javascript electron electron-forge

这应该是一个非常容易解决的问题,但是对于我自己的一生,我无法弄清楚。我正在使用CLI电子伪造(v6),无法获取任务栏,也无法运行exe图标。在Windows下开发。

package.json

"config": {
    "forge": {
      "packagerConfig": {
        "osxSign": {
          "identity": "Developer ID Application: myidhere"
        }
      },
      "makers": [
        {
          "name": "@electron-forge/maker-squirrel",
          "config": {
            "name": "myappname"
          }
        },
        {
          "name": "@electron-forge/maker-zip",
          "platforms": [
            "darwin"
          ]
        },
        {
          "name": "@electron-forge/maker-rpm",
          "config": {}
        }
      ],
      "publishers": [
        {
          "name": "@electron-forge/publisher-nucleus",
          "config": {
            "host": "https://rel.myserver.net",
            "appId": "3",
            "channelId": "mychannelid",
            "token": "mytokenid"
          }
        }
      ],
      "asar": "true"
    }
  },

0 个答案:

没有答案