feat: block executable 1:N game

This commit is contained in:
Zamitto 2024-09-14 15:29:52 -03:00
parent fcc24d6b94
commit 939133fcc3
8 changed files with 37 additions and 5 deletions

View file

@ -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),