Browse Source

Merge pull request #52 from posva/es6-patch

Use string es6 interpolation
main
Jessica Lord 9 years ago
parent
commit
3550153dcb
  1. 2
      main.js

2
main.js

@ -13,7 +13,7 @@ function createWindow () {
mainWindow = new BrowserWindow({width: 800, height: 600}) mainWindow = new BrowserWindow({width: 800, height: 600})
// and load the index.html of the app. // and load the index.html of the app.
mainWindow.loadURL('file://' + __dirname + '/index.html')
mainWindow.loadURL(`file://${__dirname}/index.html`)
// Open the DevTools. // Open the DevTools.
mainWindow.webContents.openDevTools() mainWindow.webContents.openDevTools()

Loading…
Cancel
Save