mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-03-09 15:40:26 +00:00
feat: get trending games from api
This commit is contained in:
parent
87cacdf16c
commit
3199e56661
6 changed files with 66 additions and 48 deletions
|
@ -44,6 +44,7 @@ contextBridge.exposeInMainWorld("electron", {
|
|||
ipcRenderer.invoke("getGames", take, prevCursor),
|
||||
searchGameRepacks: (query: string) =>
|
||||
ipcRenderer.invoke("searchGameRepacks", query),
|
||||
getTrendingGames: () => ipcRenderer.invoke("getTrendingGames"),
|
||||
|
||||
/* User preferences */
|
||||
getUserPreferences: () => ipcRenderer.invoke("getUserPreferences"),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue