mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-03-09 15:40:26 +00:00
feat: adding change hero
This commit is contained in:
commit
58502aeb1f
47 changed files with 3572 additions and 1461 deletions
|
@ -7,6 +7,7 @@ import type { GameShop } from "@types";
|
|||
import { steamGamesWorker } from "@main/workers";
|
||||
import { createGame } from "@main/services/library-sync";
|
||||
import { steamUrlBuilder } from "@shared";
|
||||
import { updateLocalUnlockedAchivements } from "@main/services/achievements/update-local-unlocked-achivements";
|
||||
|
||||
const addGameToLibrary = async (
|
||||
_event: Electron.IpcMainInvokeEvent,
|
||||
|
@ -43,6 +44,8 @@ const addGameToLibrary = async (
|
|||
});
|
||||
}
|
||||
|
||||
updateLocalUnlockedAchivements(objectId);
|
||||
|
||||
const game = await gameRepository.findOne({
|
||||
where: { objectID: objectId },
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue