We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3b4a365 commit d24001cCopy full SHA for d24001c
renderer-process/system/protocol-handler.js
@@ -5,7 +5,7 @@ const path = require('path')
5
const protocolHandlerBtn = document.getElementById('protocol-handler')
6
7
protocolHandlerBtn.addEventListener('click', function () {
8
- const appDirectory = __dirname.replace('app.asar', 'app.asar.unpacked')
9
- const pagePath = path.join('file://', appDirectory, '../../sections/system/protocol-link.html')
+ const pageDirectory = __dirname.replace('app.asar', 'app.asar.unpacked')
+ const pagePath = path.join('file://', pageDirectory, '../../sections/system/protocol-link.html')
10
shell.openExternal(pagePath)
11
})
0 commit comments