mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-03-09 15:40:26 +00:00
feat: remove notification spam
This commit is contained in:
parent
d7c05247c3
commit
753a293cd7
8 changed files with 80 additions and 49 deletions
|
@ -8,7 +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";
|
||||
import { updateLocalUnlockedAchivements } from "@main/services/achievements/update-local-unlocked-achivements";
|
||||
|
||||
const addGameToLibrary = async (
|
||||
_event: Electron.IpcMainInvokeEvent,
|
||||
|
@ -53,9 +53,7 @@ const addGameToLibrary = async (
|
|||
});
|
||||
}
|
||||
|
||||
// TODO: search for achievements only from this game
|
||||
console.log("Searching for achievements", title);
|
||||
saveAllLocalSteamAchivements();
|
||||
updateLocalUnlockedAchivements(true, objectID);
|
||||
|
||||
const game = await gameRepository.findOne({ where: { objectID } });
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue