Skip to content

Commit

Permalink
Fix the deprecation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
laiso authored and kevinsawicki committed Dec 3, 2015
1 parent 25e99f7 commit ceec7c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit ceec7c3

Please sign in to comment.