diff --git a/main.js b/main.js index cf5f201..f9251de 100644 --- a/main.js +++ b/main.js @@ -21,7 +21,7 @@ app.on('ready', function() { width: 368 }); - mainWindow.loadUrl('file://' + __dirname + '/app/index.html'); + mainWindow.loadURL('file://' + __dirname + '/app/index.html'); setGlobalShortcuts(); }); @@ -71,4 +71,4 @@ ipc.on('close-settings-window', function () { ipc.on('set-global-shortcuts', function () { setGlobalShortcuts(); -}); \ No newline at end of file +});