Skip to content

Commit 17ba071

Browse files
committed
fix: crash before window loaded
1 parent d7df4d7 commit 17ba071

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,7 @@ async function createMainWindow() {
335335

336336
removeContentSecurityPolicy();
337337

338-
await win.webContents.loadURL(urlToLoad);
338+
win.webContents.loadURL(urlToLoad);
339339

340340
return win;
341341
}

0 commit comments

Comments
 (0)