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

Python: Module vs Package vs Library vs Framework

Module is a file which contains various Python functions and global variables. It is simply…

“Simon” Piano Game JavaScript Code

Demo: https://blog.kimconnect.com/wp-content/projects/pianogame.html <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head>…

PowerShell: Detecting Windows Antivirus

One of the initial tasks of a Windows user is to determine whether a computer…