From 67c8995b8aae09953839cd659d662a148e959fb4 Mon Sep 17 00:00:00 2001 From: Devin Binnie Date: Fri, 13 Dec 2024 13:21:27 -0500 Subject: [PATCH] Fix focus --- src/main/views/loadingScreen.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/views/loadingScreen.ts b/src/main/views/loadingScreen.ts index 1c152fe234f..53adb2b04fd 100644 --- a/src/main/views/loadingScreen.ts +++ b/src/main/views/loadingScreen.ts @@ -90,6 +90,7 @@ export class LoadingScreen { if (process.env.NODE_ENV === 'test') { app.emit('e2e-app-loaded'); + MainWindow.get()?.focus(); } };