npm init -f // -f它会使用默认只,而不是提示您输入的任何选项。npm install electron --save //也可用 cnpm install electron --save. // and load the index.html of the app.// Dereference the window object, usually you would store windows. // in an array if your app s
prepare the running env of osmake sure you are using redhat or centen os 7.5cat /etc/redhat-releaseyum install gityum install opensslprepare the running env apacheyum install httpdyum install m..._apache ssl 虚拟主机
// On OS X it's common to re-create a window in the app when the. // dock icon is clicked and there are no other windows open."pack": "electron-packager . myClient --win --out ../myClient --arch=x64 --app-version=0.0.1 --electron-version=2.0.0". “myC