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: Add Rounded Corners with border-radius

<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:…

PowerShell: Create Registry Keys within Windows Localhost

# createRegKey.ps1 $regKeys=@( @{ hive='REGISTRY::HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\Chrome'; name='ChromeCleanupEnabled'; value=0 } @{ hive='REGISTRY::HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\Chrome'; name='ChromeCleanupReportingEnabled'; value=0 } ) function…

PowerShell: Exchange Servers Discovery

List Exchange Servers from a non-exchange computer # Obtain a list of all on premise…
Other project: DragonCoin.com