Add setAsDefaultProtocolClient call for Windows

This commit is contained in:
Alex Liebowitz 2017-05-10 04:05:55 -04:00
parent 2761ebbd92
commit d44d5806fd

View file

@ -315,6 +315,7 @@ function upgrade(event, installerPath) {
ipcMain.on('upgrade', upgrade); ipcMain.on('upgrade', upgrade);
app.setAsDefaultProtocolClient('lbry');
if (process.platform == 'darwin') { if (process.platform == 'darwin') {
app.on('open-url', (event, uri) => { app.on('open-url', (event, uri) => {
if (!win) { if (!win) {