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
be called with
error when failed, and with
null when succeeded.
You also need to specify Electron's
arch, as well as
builddir where temporary files and downloaded binaries will be put.