diff --git a/app/main.js b/app/main.js index 3dcb85968..3a2f33bc2 100644 --- a/app/main.js +++ b/app/main.js @@ -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