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.ELECTRON_MIRROR - Specifies the URL of the server to download from if the version is not a nightly version.ELECTRON_CUSTOM_FILENAME - Specifies the custom file name to download. ELECTRON_CUSTOM_DIR - Specifies the custom directory to download from.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
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |