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

Invoke T-SQL on Multiple Servers

$computersAndCredentials=@{ 'SQL01'=@{'intranet\sql01Admin'='PASSWORD'} 'SQL02'=@{'intranet\sql02Admin'='PASSWORD'} 'SQL03'=@{'intranet\sql03Admin'='PASSWORD'} 'SQL04'=@{'intranet\sql04Admin'='PASSWORD'} } $tSql=" --Update the Setting with a new value: USE…

Script to use WinRAR for backups

REM winrar_backup.batecho offSET FNAME=KIMCONNECTSET LOGFILE=\\FILESERVER01\backup\ads-02-backup.txtIF EXIST V:\ (NET USE V: /DELETE)net use v: \\FILESERVER01\backupIF %ERRORLEVEL%…

Basic CSS: Change the Color of Text

<h2>CatPhotoApp</h2><main> <p>Click here to view more <a href="#">cat photos</a>.</p> <a href="#"><img src="https://bit.ly/fcc-relaxing-cat" alt="A cute orange…