mirror of
https://github.com/hydralauncher/hydra.git
synced 2026-01-27 12:51:03 +00:00
feat: adding generic http downloads
This commit is contained in:
@@ -44,6 +44,8 @@ const startGameDownload = async (
|
||||
);
|
||||
|
||||
if (game) {
|
||||
console.log("game", game);
|
||||
|
||||
await gameRepository.update(
|
||||
{
|
||||
id: game.id,
|
||||
@@ -95,6 +97,8 @@ const startGameDownload = async (
|
||||
},
|
||||
});
|
||||
|
||||
console.log(updatedGame);
|
||||
|
||||
createGame(updatedGame!);
|
||||
|
||||
await downloadQueueRepository.delete({ game: { id: updatedGame!.id } });
|
||||
|
||||
Reference in New Issue
Block a user