Fix variable name in open URI callback

This commit is contained in:
Alex Liebowitz 2017-05-08 02:33:37 -04:00
parent 758bb59ccb
commit 499fa1214f

View file

@ -306,7 +306,7 @@ ipcMain.on('upgrade', upgrade);
if (process.platform == 'darwin') {
app.on('open-url', (event, uri) => {
win.webContents.send('open-uri-requested', url);
win.webContents.send('open-uri-requested', uri);
});
} else if (process.argv.length >= 3) {
// No open-url event on Win, but we can still handle URIs provided at launch time