mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-03-09 15:40:26 +00:00
feat: fix notification icons
This commit is contained in:
parent
780ab5f909
commit
08fbd4c8d8
3 changed files with 32 additions and 10 deletions
|
@ -8,6 +8,7 @@ import { getFileBase64 } from "@main/helpers";
|
|||
import { steamGamesWorker } from "@main/workers";
|
||||
import { createGame } from "@main/services/library-sync";
|
||||
import { steamUrlBuilder } from "@shared";
|
||||
import { saveAllLocalSteamAchivements } from "@main/services/achievements/save-all-local-steam-achivements";
|
||||
|
||||
const addGameToLibrary = async (
|
||||
_event: Electron.IpcMainInvokeEvent,
|
||||
|
@ -52,6 +53,10 @@ const addGameToLibrary = async (
|
|||
});
|
||||
}
|
||||
|
||||
// TODO: search for achievements only from this game
|
||||
console.log("Searching for achievements", title);
|
||||
saveAllLocalSteamAchivements();
|
||||
|
||||
const game = await gameRepository.findOne({ where: { objectID } });
|
||||
|
||||
createGame(game!).catch(() => {});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue