Fix double-navigation to pages

setupNativefierWindow is already called in createMainWindow !
No need to call it again here in browser-window-created!
Double-navs weren't visible with internal links but they were with external links
This commit is contained in:
Ronan Jouchet 2022-09-17 22:02:10 -04:00
parent be2180b53f
commit eecc33c1aa
1 changed files with 0 additions and 1 deletions

View File

@ -444,7 +444,6 @@ app.on('browser-window-blur', (event: Event, window: BrowserWindow) => {
app.on('browser-window-created', (event: Event, window: BrowserWindow) => {
log.debug('app.browser-window-created', { event, window });
setupNativefierWindow(outputOptionsToWindowOptions(appArgs), window);
});
app.on('browser-window-focus', (event: Event, window: BrowserWindow) => {