nn 35a927ef98 迁移校园资讯游览器客户端 8 年之前
..
lib 35a927ef98 迁移校园资讯游览器客户端 8 年之前
node_modules 35a927ef98 迁移校园资讯游览器客户端 8 年之前
LICENSE.md 35a927ef98 迁移校园资讯游览器客户端 8 年之前
README.md 35a927ef98 迁移校园资讯游览器客户端 8 年之前
package.json 35a927ef98 迁移校园资讯游览器客户端 8 年之前

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.