mirror of
https://github.com/hydralauncher/hydra.git
synced 2026-01-22 18:33:56 +00:00
feat: refactoring achievements watcher
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user