fix: change install validation to remove download game only

This commit is contained in:
JackEnx 2024-04-21 19:17:47 -03:00
parent a947b93669
commit 7f127fdc5c

View File

@ -23,7 +23,7 @@ const openGameInstaller = async (
);
if (!fs.existsSync(gamePath)) {
await gameRepository.delete({ id: gameId });
await gameRepository.update({ id: gameId }, { status: null });
return true;
}