Skip to content

Instantly share code, notes, and snippets.

@MarshallOfSound
Created June 7, 2018 23:04
Show Gist options
  • Save MarshallOfSound/b6e3971c476d3fff7a6e3b74041b8add to your computer and use it in GitHub Desktop.
Save MarshallOfSound/b6e3971c476d3fff7a6e3b74041b8add to your computer and use it in GitHub Desktop.
Electron Fiddle Gist
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Hello World!</title>
</head>
<body>
<h1>Hello World!</h1>
<!-- All o
// Modules to control application life and create native browser window
const {app, BrowserWindow} = require('electron')
// Keep a global reference of the window object, if you don't, the window will
// be closed automatically when the JavaScript object is garbage collected.
let mainWindow
function create
})
// In this file you can include the rest of your app's specific main process
// code. You can also put them in separate files and require them here.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment