This commit is contained in:
Igor Gassmann 2018-02-11 16:24:06 -03:00
parent db7d7f0e82
commit 607f74dbac

View file

@ -26,10 +26,10 @@ const { autoUpdater } = remote.require('electron-updater');
autoUpdater.logger = remote.require('electron-log');
window.addEventListener('contextmenu', event => {
contextMenu(remote.getCurrentWindow(), event.x, event.y, app.env === 'development');
event.preventDefault();
});
// window.addEventListener('contextmenu', event => {
// contextMenu(remote.getCurrentWindow(), event.x, event.y, app.env === 'development');
// event.preventDefault();
// });
ipcRenderer.on('open-uri-requested', (event, uri, newSession) => {
if (uri && uri.startsWith('lbry://')) {