mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-03-09 15:40:26 +00:00
fix: change install validation to remove download game only
This commit is contained in:
parent
a947b93669
commit
7f127fdc5c
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ const openGameInstaller = async (
|
||||||
);
|
);
|
||||||
|
|
||||||
if (!fs.existsSync(gamePath)) {
|
if (!fs.existsSync(gamePath)) {
|
||||||
await gameRepository.delete({ id: gameId });
|
await gameRepository.update({ id: gameId }, { status: null });
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue