Windows URI handling #121

Merged
alexliebowitz merged 8 commits from windows-linux-uris into master 2017-05-12 22:46:49 +02:00
Showing only changes of commit b189b31347 - Show all commits

View file

@ -327,5 +327,9 @@ if (process.platform == 'darwin') {
}); });
} else if (process.argv.length >= 3) { } else if (process.argv.length >= 3) {
// No open-url event on Win, but we can still handle URIs provided at launch time // No open-url event on Win, but we can still handle URIs provided at launch time
win.webContents.send('open-uri-requested', process.argv[2]); if (!win) {
openUri = process.argv[2];
} else {
win.webContents.send('open-uri-requested', process.argv[2]);
}
} }