Stop using deprecated Electron API

This commit is contained in:
Yuya Ochiai
2015-11-20 18:04:20 +09:00
parent 9d7a8845cb
commit 07f42063e6
4 changed files with 9 additions and 9 deletions

View File

@@ -14,7 +14,7 @@ var createTemplate = function(mainWindow) {
}, {
label: 'Settings',
click: function(item, focusedWindow) {
mainWindow.loadUrl('file://' + __dirname + '/../settings.html');
mainWindow.loadURL('file://' + __dirname + '/../settings.html');
}
}, {
label: 'Quit',