organize ui

This commit is contained in:
Zamitto 2024-06-05 20:29:42 -03:00
parent 45d8923561
commit e8b28ccf90
5 changed files with 89 additions and 98 deletions

View file

@ -61,19 +61,8 @@ contextBridge.exposeInMainWorld("electron", {
syncDownloadSources: () => ipcRenderer.invoke("syncDownloadSources"),
/* Library */
addGameToLibrary: (
objectID: string,
title: string,
shop: GameShop,
executablePath: string
) =>
ipcRenderer.invoke(
"addGameToLibrary",
objectID,
title,
shop,
executablePath
),
addGameToLibrary: (objectID: string, title: string, shop: GameShop) =>
ipcRenderer.invoke("addGameToLibrary", objectID, title, shop),
createGameShortcut: (id: number) =>
ipcRenderer.invoke("createGameShortcut", id),
updateExecutablePath: (id: number, executablePath: string) =>