mirror of
https://github.com/hydralauncher/hydra.git
synced 2026-01-23 02:41:02 +00:00
feat: favorites
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user