Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,11 @@ if (gotTheLock) {
// 2. Load services while splash visible (fast - ~100ms)
// 3. Create window and start loading content (splash stays visible)
// 4. When window ready-to-show: close splash, show main window
await showSplashScreen(); // Wait for splash to actually load
//
// Skip splash in E2E tests to avoid app.firstWindow() grabbing the wrong window
if (!isE2ETest) {
await showSplashScreen(); // Wait for splash to actually load
}
await loadServices();
createWindow();
// Note: splash closes in ready-to-show event handler
Expand Down