

Everything there is important the Shasum256. So copy to your offline pc all the electron\Cache directory. In my windows pc its located in: C: \Users\baruch\AppData\Local\electron\Cache\some string

This will cache the electron.zip in your computer. In computer with internet execute the command: npm i electron The environment variable ELECTRON_GET_USE_PROXY is set, it is called automatically.So to install electron offline, i recommend to do the following steps: GetProgressCallback in downloadOptions, which has the same function signature as got'sĭownstream packages should utilize the initializeProxy function to add HTTP(S) proxy support. If you need to monitor progress yourself via the API, set Toĭisable, set the ELECTRON_GET_NO_PROGRESS environment variable to any non-empty value, or set As a result, you can use the same optionsīy default, a progress bar is shown when downloading an artifact for more than 30 seconds.

Mirror options can also be specified via the following environment variables: Const zipFilePath = await download ( '4.0.4', ) // Will download from Using environment variables for mirror options
