Skip to content

Commit

Permalink
A first BrowserWindow
Browse files Browse the repository at this point in the history
  • Loading branch information
felixrieseberg committed Aug 31, 2017
1 parent 66ac8aa commit 366a1e3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/main/index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
const { app } = require('electron')
const { app, BrowserWindow } = require('electron')

let mainWindow

app.on('ready', () => {
console.log('Application ready!')
mainWindow = new BrowserWindow()
})

0 comments on commit 366a1e3

Please sign in to comment.