fix: change install validation to remove download game only

This commit is contained in:
JackEnx 2024-04-21 19:17:47 -03:00
parent 797f5ee0d8
commit ecbfffb039

View File

@ -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;
} }