URI handling (WIP) #116

Merged
alexliebowitz merged 5 commits from uri-handling into master 2017-05-08 16:11:19 +02:00
Showing only changes of commit 499fa1214f - Show all commits

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