feat: pinning and showing featuring games in profile

This commit is contained in:
Moyasee
2025-09-23 15:21:32 +03:00
parent 2604dfea22
commit 33c15baf0e
15 changed files with 192 additions and 3 deletions

View File

@@ -143,6 +143,10 @@ contextBridge.exposeInMainWorld("electron", {
ipcRenderer.invoke("addGameToFavorites", shop, objectId),
removeGameFromFavorites: (shop: GameShop, objectId: string) =>
ipcRenderer.invoke("removeGameFromFavorites", shop, objectId),
addGameToPinned: (shop: GameShop, objectId: string) =>
ipcRenderer.invoke("addGameToPinned", shop, objectId),
removeGameFromPinned: (shop: GameShop, objectId: string) =>
ipcRenderer.invoke("removeGameFromPinned", shop, objectId),
updateLaunchOptions: (
shop: GameShop,
objectId: string,