mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-03-09 15:40:26 +00:00
feat: add a modal to select game installation folder (pt and en translation)
This commit is contained in:
parent
d9056ff0d6
commit
cacc4ca57a
13 changed files with 1232 additions and 24 deletions
|
@ -138,12 +138,16 @@ export function GameDetails() {
|
|||
};
|
||||
}, [game?.id, isGamePlaying, getGame]);
|
||||
|
||||
const handleStartDownload = async (repackId: number) => {
|
||||
const handleStartDownload = async (
|
||||
repackId: number,
|
||||
downloadPath: string
|
||||
) => {
|
||||
return startDownload(
|
||||
repackId,
|
||||
gameDetails.objectID,
|
||||
gameDetails.name,
|
||||
shop as GameShop
|
||||
shop as GameShop,
|
||||
downloadPath
|
||||
).then(() => {
|
||||
getGame();
|
||||
setShowRepacksModal(false);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue