19.28.4
2.9.4
I am following this https://github.com/electron-userland/electron-builder/issues/1859 since I also face the same issue"host cant access internet"
This folder has winsign folderresources/electronbuilder/
This is how my release script looks like
"release": "mkdir -p ~/.cache/electron-builder && chmod -R 777 ~/.cache/electron-builder && cp -r resources/electronbuilder/* ~/.cache/electron-builder && chmod -R +x node_modules && build --win --publish always",
I manually downloaded winCodeSign-1.9.0 and pushed that inside~/.cache/electron-builder
But electron builder is still try to download that from github and throws error
electron-builder 19.28.4
No native production dependencies
Packaging for win32 x64 using electron 1.7.6 to dist/win-unpacked
Downloading winCodeSign-1.9.0, please wait
Warning: Cannot download winCodeSign, attempt #1: Error: getaddrinfo ENOTFOUND github.com github.com:443
Error: getaddrinfo ENOTFOUND github.com github.com:443
Am I missing any steps
Thanks
Jk
Set env ELECTRON_BUILDER_CACHE to your custom cache location. Consider to use 19.53.4 version.
@develar I'm setting the electron builder cache env variable to a location that includes the nsis cache and the wincodesign cache and it isnt pulling it from there. It's still trying to pull it from github. I'm doing this via a pipeline build and I can't have it pull the binaries from github due to proxy.
Most helpful comment
Set env
ELECTRON_BUILDER_CACHEto your custom cache location. Consider to use 19.53.4 version.