Use string es6 interpolation

This commit is contained in:
Eduardo San Martin Morote 2016-05-12 15:41:16 +02:00
parent 0cfcd92d59
commit 46d7d193cf
1 changed files with 1 additions and 1 deletions

View File

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