Closed squalou closed 1 year ago
on("new-window") was deprecated for a long time, my bad. Replaced by
mainWindow.webContents.setWindowOpenHandler(({ url }) => {
handleRedirect(undefined, url);
return { action: 'deny' };
});
I hate electron