Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
// TODO: Remove this when using Electron 5 as it will be the default value
webviewTag: false, // Disabled for security reasons since we don't use it
},
});
win.on('ready-to-show', () => {
win.show();
});
if (is.development) {
win.loadURL('http://localhost:8080/dev.html');
} else {
loadUrl(win);
}
disableZoom(win);
return win;
}