Mock tests: retry app launch until DB initializes

This commit is contained in:
trevor-signal 2023-10-30 15:27:29 -04:00 committed by GitHub
parent 6bd802a03d
commit 47aff178da
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
25 changed files with 24 additions and 24 deletions

View file

@ -1008,6 +1008,8 @@ async function createWindow() {
return;
}
mainWindow.webContents.send('ci:event', 'db-initialized', {});
const shouldShowWindow =
!app.getLoginItemSettings().wasOpenedAsHidden && !startInTray;