手动下载安装包

https://github.com/electron-userland/electron-builder-binaries/releases/tag/winCodeSign-2.6.0

放入目录:

macOS: ~/Library/Caches/electron-builder
Linux: ~/.cache/electron-builder
windows: %LOCALAPPDATA%\electron-builder\cache

文件解压,整个目录放入文件夹中

Electron-Build打包成安装包错误,下载依赖,下载不来winCodeSign,或者下载很慢_electron

 

慎于行,敏于思!GGGGGG