mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-03-09 15:40:26 +00:00
feat: block executable 1:N game
This commit is contained in:
parent
fcc24d6b94
commit
939133fcc3
8 changed files with 37 additions and 5 deletions
|
@ -75,6 +75,8 @@ contextBridge.exposeInMainWorld("electron", {
|
|||
ipcRenderer.invoke("createGameShortcut", id),
|
||||
updateExecutablePath: (id: number, executablePath: string) =>
|
||||
ipcRenderer.invoke("updateExecutablePath", id, executablePath),
|
||||
verifyExecutablePathInUse: (executablePath: string) =>
|
||||
ipcRenderer.invoke("verifyExecutablePathInUse", executablePath),
|
||||
getLibrary: () => ipcRenderer.invoke("getLibrary"),
|
||||
openGameInstaller: (gameId: number) =>
|
||||
ipcRenderer.invoke("openGameInstaller", gameId),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue