mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-03-09 15:40:26 +00:00
feat: favorites
This commit is contained in:
parent
70fcc6e2a1
commit
2952d44884
34 changed files with 222 additions and 57 deletions
|
@ -110,11 +110,16 @@ contextBridge.exposeInMainWorld("electron", {
|
|||
executablePath: string | null
|
||||
) =>
|
||||
ipcRenderer.invoke("updateExecutablePath", shop, objectId, executablePath),
|
||||
addGameToFavorites: (shop: GameShop, objectId: string) =>
|
||||
ipcRenderer.invoke("addGameToFavorites", shop, objectId),
|
||||
removeGameFromFavorites: (shop: GameShop, objectId: string) =>
|
||||
ipcRenderer.invoke("removeGameFromFavorites", shop, objectId),
|
||||
updateLaunchOptions: (
|
||||
shop: GameShop,
|
||||
objectId: string,
|
||||
launchOptions: string | null
|
||||
) => ipcRenderer.invoke("updateLaunchOptions", shop, objectId, launchOptions),
|
||||
|
||||
selectGameWinePrefix: (
|
||||
shop: GameShop,
|
||||
objectId: string,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue