Skip to content
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.

electron-archive/node-mksnapshot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.