从脚本打包
var packager = require('electron-packager');
packager({
dir: '/',
}, function(err, path){
if(err) throw err;
// Application has been packaged
});
var packager = require('electron-packager');
packager({
dir: '/',
}, function(err, path){
if(err) throw err;
// Application has been packaged
});