mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-02-03 08:43:48 +03:00
fix: change install validation to remove download game only
This commit is contained in:
parent
797f5ee0d8
commit
ecbfffb039
@ -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…
Reference in New Issue
Block a user