chore: sync with main

This commit is contained in:
Chubby Granny Chaser
2024-09-13 01:04:38 +01:00
6 changed files with 61 additions and 45 deletions

View File

@@ -48,6 +48,7 @@ contextBridge.exposeInMainWorld("electron", {
ipcRenderer.invoke("searchGameRepacks", query),
getGameStats: (objectId: string, shop: GameShop) =>
ipcRenderer.invoke("getGameStats", objectId, shop),
getTrendingGames: () => ipcRenderer.invoke("getTrendingGames"),
/* User preferences */
getUserPreferences: () => ipcRenderer.invoke("getUserPreferences"),