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. Windows: %LOCALAPPDATA%/electron/Cache or ~/AppData/Local/electron/Cache/ĭownloader.Linux: $XDG_CACHE_HOME or ~/.cache/electron/.So that future requests for that asset can be returned instantly. This module downloads Electron to a known place on your system and caches it Setting this environment variable will override the version passed in to download or downloadArtifact. The version downloaded can be overriden by setting the ELECTRON_CUSTOM_VERSION environment variable. ELECTRON_NIGHTLY_MIRROR - Specifies the URL of the server to download from if the version is a nightly version.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |