Skip to content

GregYeo/mksnapshot

 
 

Repository files navigation

Electron mksnapshot

Travis Build Status AppVeyor Build status
js-standard-style devDependencies:?
license:mit npm: dependencies:?

Simple node module to download the mksnapshot binaries compatible with Electron for creating v8 snapshots.

This minor version of this library tracks the minor version of the Electron versions released. So if you are using Electron 1.4.x you would want to use an electron-mksnapshot dependency of ~1.4.0 in your package.json file.

Using

npm install --save-dev electron-mksnapshot
mksnapshot --help

Custom Mirror

You can set the ELECTRON_MIRROR or NPM_CONFIG_ELECTRON_MIRROR environment variables to use a custom base URL for downloading mksnapshot zips.

# Electron mirror for China
ELECTRON_MIRROR="https://npm.taobao.org/mirrors/electron/"

# Local mirror
# Example of requested URL: http://localhost:8080/1.2.0/mksnapshot-v1.2.0-darwin-x64.zip
ELECTRON_MIRROR="http://localhost:8080/"

About

Electron mksnapshot binaries

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%