mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-03-09 15:40:26 +00:00
feat: create achievements page
This commit is contained in:
parent
6d4f957e2b
commit
39af661720
8 changed files with 76 additions and 20 deletions
|
@ -49,8 +49,8 @@ contextBridge.exposeInMainWorld("electron", {
|
|||
getGameStats: (objectId: string, shop: GameShop) =>
|
||||
ipcRenderer.invoke("getGameStats", objectId, shop),
|
||||
getTrendingGames: () => ipcRenderer.invoke("getTrendingGames"),
|
||||
getGameAchievements: (objectId: string, shop: GameShop) =>
|
||||
ipcRenderer.invoke("getGameAchievements", objectId, shop),
|
||||
getGameAchievements: (objectId: string, shop: GameShop, userId?: string) =>
|
||||
ipcRenderer.invoke("getGameAchievements", objectId, shop, userId),
|
||||
onAchievementUnlocked: (
|
||||
cb: (
|
||||
objectId: string,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue