Skip to content

Instantly share code, notes, and snippets.

@44670
Created September 20, 2020 14:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save 44670/43a78a00f87dc974bbec65cdccb7fe72 to your computer and use it in GitHub Desktop.
Save 44670/43a78a00f87dc974bbec65cdccb7fe72 to your computer and use it in GitHub Desktop.
election-rebuild behind a proxy

edit node_modules\electron-rebuild\src\rebuild.ts:

add following code when initializing rebuildArgs:

rebuildArgs.push('--proxy=http://YOUR_PROXY_SERVER')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment