Electron packager > get release build folder
cd testapp
npm init
description: calculator.js
author: kimconnect.com
npm install –save electron
vim package.json
### contents of package.json ###
{
“name”: “Simple Calculator”,
“version”: “1.0.0”,
“description”: “Simple Calculator using Electron/JavaScript”,
“main”: “main.js”,
“scripts”: {
“start”: “electron .”
},
“author”: “KimConnect.com”,
“license”: “MIT”,
“dependencies”: {
“electron”: “^1.7.7”
}
}
…to be continued…
Categories: