Procházet zdrojové kódy

Merge pull request #19 from icoxfog417/issue18

fix #18
Jessica Lord před 10 roky
rodič
revize
7287c09f9c
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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();