feat: custom game support/game info changing

This commit is contained in:
Moyasee
2025-09-19 16:58:58 +03:00
parent 3409b53268
commit f4e84e46cc
15 changed files with 556 additions and 32 deletions

View File

@@ -160,6 +160,23 @@ contextBridge.exposeInMainWorld("electron", {
logoImageUrl,
libraryHeroImageUrl
),
updateGameCustomAssets: (
shop: GameShop,
objectId: string,
title: string,
customIconUrl?: string | null,
customLogoImageUrl?: string | null,
customHeroImageUrl?: string | null
) =>
ipcRenderer.invoke(
"updateGameCustomAssets",
shop,
objectId,
title,
customIconUrl,
customLogoImageUrl,
customHeroImageUrl
),
createGameShortcut: (
shop: GameShop,
objectId: string,