1 2 3 4 5 6 7 8 9 | OKAY take it away `electron-builder` ? electron-builder version=19.56.2 ? loaded configuration file=package.json ("build" field) ? writing effective config file=build/electron-builder.yaml ? no native production dependencies ? packaging platform=darwin arch=x64 electron=1.8.8 appOutDir=build/mac Downloading tmp-2221-0-electron-v1.8.8-darwin-x64.zip [==> ] 8.5% of 48.34 MB (6.38 kB/s) |
这样下载半天也没反应,设置一下镜像就好了
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 | "build": { "productName": "electron-vue-admin", "appId": "org.simulatedgreg.electron-vue", "directories": { "output": "build" }, "files": [ "dist/electron/**/*" ], "electronDownload":{ "mirror":"https://npm.taobao.org/mirrors/electron/" }, "dmg": { "contents": [ { "x": 410, "y": 150, "type": "link", "path": "/Applications" }, { "x": 130, "y": 150, "type": "file" } ] }, "mac": { "icon": "build/icons/icon.icns" }, "win": { "icon": "build/icons/icon.ico" }, "linux": { "icon": "build/icons" } }, |