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

This commit is contained in:
Hydra 2024-04-20 15:54:08 -03:00 committed by José Luís
parent d9056ff0d6
commit e10b04b78b
13 changed files with 1232 additions and 24 deletions

View file

@ -28,10 +28,11 @@ export function useDownload() {
repackId: number,
objectID: string,
title: string,
shop: GameShop
shop: GameShop,
downloadPath: string
) =>
window.electron
.startGameDownload(repackId, objectID, title, shop)
.startGameDownload(repackId, objectID, title, shop, downloadPath)
.then((game) => {
dispatch(clearDownload());
updateLibrary();