fix uri handling?
This commit is contained in:
parent
de0f40bd0b
commit
946db9a6bc
1 changed files with 1 additions and 4 deletions
|
@ -55,11 +55,8 @@ window.addEventListener('popstate', (event, param) => {
|
||||||
})
|
})
|
||||||
|
|
||||||
ipcRenderer.on('open-uri-requested', (event, uri) => {
|
ipcRenderer.on('open-uri-requested', (event, uri) => {
|
||||||
console.log(event)
|
|
||||||
console.log(uri)
|
|
||||||
if (uri && uri.startsWith('lbry://')) {
|
if (uri && uri.startsWith('lbry://')) {
|
||||||
console.log(uri)
|
app.store.dispatch(doNavigate('/show', { uri }))
|
||||||
doNavigate('/show', { uri })
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue