diff --git a/examples/electron/src/main.ts b/examples/electron/src/main.ts index 2250cc0..d92ee6c 100644 --- a/examples/electron/src/main.ts +++ b/examples/electron/src/main.ts @@ -34,9 +34,7 @@ async function createWindow() { stopIntercept?.(); }); - await app.whenReady(); - - // Third setup the handler + // Setup the handler stopIntercept = await setupHandler(mainWindow); return mainWindow;