Create snapshot file for Electron
Switch branches/tags
Clone or download
Latest commit 5fdeab9 Feb 24, 2017
Failed to load latest commit information.
src Update REPO_URL for new org name Sep 14, 2016
.gitignore Add .npmignore May 6, 2015
.npmignore Add .npmignore May 6, 2015 Initial commit May 6, 2015 Initial commit May 6, 2015 Update README May 6, 2015
package.json 0.3.1 Feb 24, 2017


Generates snapshot file for Electron.


npm install mksnapshot


var mksnapshot = require('mksnapshot');

mksnapshot(content, target, version, arch, builddir, callback)

Generates snapshot file for content and copies it to target, callback will be called with error when failed, and with null when succeeded.

You also need to specify Electron's version and arch, as well as the builddir where temporary files and downloaded binaries will be put.