mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-03-09 15:40:26 +00:00
feat: create game shortcut
This commit is contained in:
parent
6dfd7279dc
commit
086ee8ac04
7 changed files with 52 additions and 1 deletions
|
@ -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"),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue