feat: replace BrowserView with WebContentsView (#35658)
This commit is contained in:
parent
a94fb2cb5d
commit
15c6014324
76 changed files with 2987 additions and 1531 deletions
|
@ -19,7 +19,7 @@ app.whenReady().then(() => {
|
|||
});
|
||||
|
||||
contents.on('did-finish-load', () => {
|
||||
win.webContents.executeJavaScript('document.querySelector(\'.close-btn\').click()');
|
||||
win.webContents.executeJavaScript('closeBtn.click()');
|
||||
});
|
||||
|
||||
contents.on('will-prevent-unload', event => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue