feat: add a modal to select game installation folder (pt and en translation)

This commit is contained in:
shadowtosser 2024-04-20 15:54:08 -03:00
parent d9056ff0d6
commit cacc4ca57a
13 changed files with 1232 additions and 24 deletions

View file

@ -15,8 +15,17 @@ contextBridge.exposeInMainWorld("electron", {
repackId: number,
objectID: string,
title: string,
shop: GameShop
) => ipcRenderer.invoke("startGameDownload", repackId, objectID, title, shop),
shop: GameShop,
downloadPath: string
) =>
ipcRenderer.invoke(
"startGameDownload",
repackId,
objectID,
title,
shop,
downloadPath
),
cancelGameDownload: (gameId: number) =>
ipcRenderer.invoke("cancelGameDownload", gameId),
pauseGameDownload: (gameId: number) =>