mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-03-09 15:40:26 +00:00
feat: refactoring achievements watcher
This commit is contained in:
parent
c18c41ac95
commit
44e59a5f6f
12 changed files with 120 additions and 57 deletions
|
@ -51,8 +51,6 @@ contextBridge.exposeInMainWorld("electron", {
|
|||
getTrendingGames: () => ipcRenderer.invoke("getTrendingGames"),
|
||||
getGameAchievements: (objectId: string, shop: GameShop) =>
|
||||
ipcRenderer.invoke("getGameAchievements", objectId, shop),
|
||||
updateGameUnlockedAchievements: (objectId: string) =>
|
||||
ipcRenderer.invoke("updateGameUnlockedAchievements", objectId),
|
||||
onAchievementUnlocked: (
|
||||
cb: (
|
||||
objectId: string,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue