chuwanghui 6d115466a5 electron库 il y a 8 ans
..
lib 6d115466a5 electron库 il y a 8 ans
node_modules 6d115466a5 electron库 il y a 8 ans
LICENSE.md 6d115466a5 electron库 il y a 8 ans
README.md 6d115466a5 electron库 il y a 8 ans
package.json 6d115466a5 electron库 il y a 8 ans

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.