mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-03-09 15:40:26 +00:00
Merge branch 'feat/new-catalogue' into feat/achievements-points
This commit is contained in:
commit
54886a2c5a
19 changed files with 568 additions and 387 deletions
|
|
@ -55,8 +55,8 @@ contextBridge.exposeInMainWorld("electron", {
|
|||
},
|
||||
|
||||
/* Catalogue */
|
||||
searchGames: (payload: CatalogueSearchPayload, page: number) =>
|
||||
ipcRenderer.invoke("searchGames", payload, page),
|
||||
searchGames: (payload: CatalogueSearchPayload, take: number, skip: number) =>
|
||||
ipcRenderer.invoke("searchGames", payload, take, skip),
|
||||
getCatalogue: (category: CatalogueCategory) =>
|
||||
ipcRenderer.invoke("getCatalogue", category),
|
||||
getGameShopDetails: (objectId: string, shop: GameShop, language: string) =>
|
||||
|
|
@ -83,8 +83,6 @@ contextBridge.exposeInMainWorld("electron", {
|
|||
listener
|
||||
);
|
||||
},
|
||||
getPublishers: () => ipcRenderer.invoke("getPublishers"),
|
||||
getDevelopers: () => ipcRenderer.invoke("getDevelopers"),
|
||||
|
||||
/* User preferences */
|
||||
getUserPreferences: () => ipcRenderer.invoke("getUserPreferences"),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue