mirror of
https://github.com/LukeHagar/sveltekit-adapters.git
synced 2025-12-06 04:21:32 +00:00
Update examples/electron/src/main.ts
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
This commit is contained in:
@@ -34,9 +34,7 @@ async function createWindow() {
|
|||||||
stopIntercept?.();
|
stopIntercept?.();
|
||||||
});
|
});
|
||||||
|
|
||||||
await app.whenReady();
|
// Setup the handler
|
||||||
|
|
||||||
// Third setup the handler
|
|
||||||
stopIntercept = await setupHandler(mainWindow);
|
stopIntercept = await setupHandler(mainWindow);
|
||||||
|
|
||||||
return mainWindow;
|
return mainWindow;
|
||||||
|
|||||||
Reference in New Issue
Block a user