Posted On May 10, 2019

Create Desktop Application with Electron using JavaScript

kimconnect 0 comments
blog.KimConnect.com >> Codes >> Create Desktop Application with Electron using JavaScript

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…

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post

Basic CSS: Use an id Attribute to Style an Element

<link href="https://fonts.googleapis.com/css?family=Lobster" rel="stylesheet" type="text/css"><style>.red-text {color: red;}h2 {font-family: Lobster, monospace;}p {font-size: 16px;font-family: monospace;}.thick-green-border {border-color: green;border-width: 10px;border-style:…

Basic JavaScript: Constructing Strings with Variables

// Examplevar ourName = "freeCodeCamp";var ourStr = "Hello, our name is " + ourName +…

PowerShell Script to Send Email

Use this newer method: https://blog.kimconnect.com/powershell-script-to-send-emails/ ### Variables section ###$fromaddress = "[email protected]"$toaddress = "[email protected]"$bccaddress = ""$CCaddress…