Skip to content

Commit

Permalink
[DDW-691] Remove additional logger
Browse files Browse the repository at this point in the history
  • Loading branch information
tomislavhoracek committed Oct 15, 2021
1 parent 46f789b commit cc6d87e
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions source/main/index.js
Expand Up @@ -377,26 +377,20 @@ if (process.platform === 'win32') {
});
}

if (!app.isDefaultProtocolClient('web+cardano')) {
logEverywhere('set default protocol')
// Define custom protocol handler. Deep linking works on packaged versions of the application!
app.setAsDefaultProtocolClient('web+cardano')
}

app.on('will-finish-launching', function() {
// Protocol handler for osx
app.on('open-url', function(event, url) {
event.preventDefault()
deeplinkingUrl = `${url}-#1`;
logEverywhere('open-url# ' + deeplinkingUrl)
// logEverywhere('open-url# ' + deeplinkingUrl)
})
})

// Protocol handler for osx
app.on('open-url', function(event, url) {
event.preventDefault()
deeplinkingUrl = `${url}-#2`;
logEverywhere('open-url-2# ' + deeplinkingUrl)
// logEverywhere('open-url-2# ' + deeplinkingUrl)
})

// Log both at dev console and at running node console instance
Expand Down

0 comments on commit cc6d87e

Please sign in to comment.