Fix variable name in open URI callback
This commit is contained in:
parent
758bb59ccb
commit
499fa1214f
1 changed files with 1 additions and 1 deletions
|
@ -306,7 +306,7 @@ ipcMain.on('upgrade', upgrade);
|
||||||
|
|
||||||
if (process.platform == 'darwin') {
|
if (process.platform == 'darwin') {
|
||||||
app.on('open-url', (event, uri) => {
|
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) {
|
} 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
|
||||||
|
|
Loading…
Add table
Reference in a new issue