npm run-script

package.json

"scripts": {
    "start": "electron .",
    "package": "electron-packager ./ --platform linux --arch=x64 --overwrite --no-prune"
  },

npm run-script package

posted @ 2016-11-04 23:15  蚂蚁都督  阅读(197)  评论(0编辑  收藏  举报