mirror of
https://github.com/hydralauncher/hydra.git
synced 2026-01-18 16:53:57 +00:00
feat: create game shortcut
This commit is contained in:
@@ -74,6 +74,8 @@ contextBridge.exposeInMainWorld("electron", {
|
||||
shop,
|
||||
executablePath
|
||||
),
|
||||
createGameShortcut: (id: number) =>
|
||||
ipcRenderer.invoke("createGameShortcut", id),
|
||||
updateExecutablePath: (id: number, executablePath: string) =>
|
||||
ipcRenderer.invoke("updateExecutablePath", id, executablePath),
|
||||
getLibrary: () => ipcRenderer.invoke("getLibrary"),
|
||||
|
||||
Reference in New Issue
Block a user