Add setAsDefaultProtocolClient call for Windows
This commit is contained in:
parent
2761ebbd92
commit
d44d5806fd
1 changed files with 1 additions and 0 deletions
|
@ -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) {
|
||||||
|
|
Loading…
Reference in a new issue