feat: create game shortcut

This commit is contained in:
Zamitto 2024-06-05 16:42:45 -03:00
parent 6dfd7279dc
commit 086ee8ac04
7 changed files with 52 additions and 1 deletions

View file

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