Skip to content

Instantly share code, notes, and snippets.

@bhushangoel
Last active November 23, 2018 18:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bhushangoel/cd49d7fc6449c00ed9dc1ac8decad894 to your computer and use it in GitHub Desktop.
Save bhushangoel/cd49d7fc6449c00ed9dc1ac8decad894 to your computer and use it in GitHub Desktop.
const {app, BrowserWindow} = require('electron');
createAppWindow = () => {
// Create the browser window.
win = new BrowserWindow({ width: 800, height: 600 });
// and load the index.html of the app.
win.loadFile('index.html');
};
app.on('ready', createAppWindow);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment