Generates snapshot file for Electron.
npm install mksnapshot
var mksnapshot = require('mksnapshot');
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.