icoxfog417 hace 10 años
padre
commit
e5f2635f3b
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      main.js

+ 1 - 1
main.js

@@ -26,7 +26,7 @@ app.on('ready', function() {
   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();