[Splash] Disable logging for webcontents send

This commit is contained in:
Ducko 2021-12-10 19:58:52 +00:00
parent 0d7680dcc9
commit 603d92967b

View file

@ -67,7 +67,7 @@ const events = new _events.EventEmitter();
exports.events = events; exports.events = events;
function webContentsSend(win, event, ...args) { function webContentsSend(win, event, ...args) {
log('Splash', `Sending to webcontents:`, event, args); // log('Splash', `Sending to webcontents:`, event, args);
if (win != null && win.webContents != null) { if (win != null && win.webContents != null) {
win.webContents.send(`DISCORD_${event}`, ...args); win.webContents.send(`DISCORD_${event}`, ...args);