From 46d7d193cf5c24f2a4560289915a9ee25e9e1ad1 Mon Sep 17 00:00:00 2001 From: Eduardo San Martin Morote Date: Thu, 12 May 2016 15:41:16 +0200 Subject: [PATCH] Use string es6 interpolation --- main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.js b/main.js index a82cbe5..fdce321 100644 --- a/main.js +++ b/main.js @@ -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()