從指令碼打包
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
});