mirror of
https://github.com/hydralauncher/hydra.git
synced 2026-01-28 21:31:03 +00:00
fix: change install validation to remove download game only
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user