使用 electron-builder 打包的时候会自动下载所需的依赖,但是下载过程可能因某些神秘力量而失败。因此需要手动下载,再将工具放于指定路径:
macOS:
打包所需依赖缓存位置:
$ ~/Library/Caches/electron
$ ~/Library/Caches/electron-builder
程序缓存位置:
$ ~/Library/Application Support/Caches
Linux:
$ ~/.cache/electron-builder
windows:
$ %LOCALAPPDATA%\electron\cache
$ %LOCALAPPDATA%\electron-builder\cache
欢迎光临 firemail (http://firemail.wang:8088/) | Powered by Discuz! X3 |