fix: crash before window loaded

This commit is contained in:
JellyBrick
2023-10-11 21:59:03 +09:00
parent d7df4d7d10
commit 17ba071057

View File

@ -335,7 +335,7 @@ async function createMainWindow() {
removeContentSecurityPolicy(); removeContentSecurityPolicy();
await win.webContents.loadURL(urlToLoad); win.webContents.loadURL(urlToLoad);
return win; return win;
} }