![]() ![]() ![]() The cache contains the version's official zip file as well as a checksum, and is stored as /.So you can examine the integrity of the data also later still at any time.Ī further important application field for checksums is the transmission of data over the Internet. ![]() You can also override the local cache location by providing a electron_config_cache environment variable. On environments that have been using older versions of Electron, you might find the cache also in ~/.electron. Windows: $LOCALAPPDATA/electron/Cache or ~/AppData/Local/electron/Cache/.Linux: $XDG_CACHE_HOME or ~/.cache/electron/.You can use that cache folder to provide custom builds of Electron or to avoid making contact with the network at all. will cache downloaded binaries in a local directory to not stress your network. ![]() Cache Īlternatively, you can override the local cache. If your mirror serves artifacts with different checksums to the official Electron release you may have to set electron_use_remote_checksums=1 to force Electron to use the remote SHASUMS256.txt file to verify the checksum instead of the embedded checksums. The above configuration will download from URLs such as. √ All packages installed (77 packages installed from npm registry, used 2m(network 6s), speed 345.69KB/s, json 74(885.71KB), tarball 1.3MB, manifests cache hit 0, etag hit 0 / miss 0) 完整教程 使用说明 scripts.postinstall finished in 2mġ8.7.15) but using ancestor(electron)'s dependency as 16.11.57) scripts.postinstall run "node install.js", root: electron-v20.1.1-win32-圆4.zip: 100% ETA: 0.0 seconds F:\learn\my-electron-app>npm install -g cnpm -registry=į:\learn\my-electron-app>cnpm install -save-dev electron ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |