Create snapshot file for Electron
Switch branches/tags
Clone or download
Latest commit 5fdeab9 Feb 24, 2017
Permalink
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
Gruntfile.coffee Initial commit May 6, 2015
LICENSE.md Initial commit May 6, 2015
README.md Update README May 6, 2015
package.json 0.3.1 Feb 24, 2017

README.md

mksnapshot

Generates snapshot file for Electron.

Installing

npm install mksnapshot

Docs

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.