I don't know how to test URI handling without triggering builds :( :(

This commit is contained in:
Jeremy Kauffman 2017-05-21 16:41:09 -04:00
parent 20a4f20562
commit fe3155ec24

View file

@ -48,7 +48,10 @@ window.addEventListener('popstate', (event, param) => {
})
ipcRenderer.on('open-uri-requested', (event, uri) => {
console.log(event)
console.log(uri)
if (uri && uri.startsWith('lbry://')) {
console.log(uri)
doNavigate('/show', { uri })
}
});