fix: notifications not working on first run

This commit is contained in:
Zamitto
2025-05-17 20:32:24 -03:00
parent 276c098fbc
commit a5aabe0ad7
8 changed files with 36 additions and 16 deletions

View File

@@ -33,7 +33,9 @@ export const uploadGamesBatch = async () => {
await mergeWithRemoteGames();
AchievementWatcherManager.preSearchAchievements();
if (HydraApi.isLoggedIn()) {
AchievementWatcherManager.preSearchAchievements();
}
if (WindowManager.mainWindow)
WindowManager.mainWindow.webContents.send("on-library-batch-complete");