mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-03-09 15:40:26 +00:00
feat: optimizations
This commit is contained in:
parent
fd5262cd6e
commit
27e8a0820f
6 changed files with 167 additions and 116 deletions
|
@ -4,7 +4,7 @@ import { IsNull } from "typeorm";
|
|||
import { HydraApi } from "../hydra-api";
|
||||
import { mergeWithRemoteGames } from "./merge-with-remote-games";
|
||||
import { WindowManager } from "../window-manager";
|
||||
import { AchievementWatcherManager } from "../achievements/AchievementWatcherManager";
|
||||
import { AchievementWatcherManager } from "../achievements/achievement-watcher-manager";
|
||||
|
||||
export const uploadGamesBatch = async () => {
|
||||
const games = await gameRepository.find({
|
||||
|
@ -29,7 +29,7 @@ export const uploadGamesBatch = async () => {
|
|||
|
||||
await mergeWithRemoteGames();
|
||||
|
||||
await AchievementWatcherManager.preSearchAchievements();
|
||||
AchievementWatcherManager.preSearchAchievements();
|
||||
|
||||
if (WindowManager.mainWindow)
|
||||
WindowManager.mainWindow.webContents.send("on-library-batch-complete");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue