.
This commit is contained in:
parent
db7d7f0e82
commit
607f74dbac
1 changed files with 4 additions and 4 deletions
|
@ -26,10 +26,10 @@ const { autoUpdater } = remote.require('electron-updater');
|
||||||
|
|
||||||
autoUpdater.logger = remote.require('electron-log');
|
autoUpdater.logger = remote.require('electron-log');
|
||||||
|
|
||||||
window.addEventListener('contextmenu', event => {
|
// window.addEventListener('contextmenu', event => {
|
||||||
contextMenu(remote.getCurrentWindow(), event.x, event.y, app.env === 'development');
|
// contextMenu(remote.getCurrentWindow(), event.x, event.y, app.env === 'development');
|
||||||
event.preventDefault();
|
// event.preventDefault();
|
||||||
});
|
// });
|
||||||
|
|
||||||
ipcRenderer.on('open-uri-requested', (event, uri, newSession) => {
|
ipcRenderer.on('open-uri-requested', (event, uri, newSession) => {
|
||||||
if (uri && uri.startsWith('lbry://')) {
|
if (uri && uri.startsWith('lbry://')) {
|
||||||
|
|
Loading…
Reference in a new issue