mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-03-09 15:40:26 +00:00
fix: fixing errors with electron dl manager
This commit is contained in:
parent
11f1785432
commit
74a99f5bc8
51 changed files with 718 additions and 766 deletions
|
@ -13,7 +13,9 @@ const openGameInstaller = async (
|
|||
_event: Electron.IpcMainInvokeEvent,
|
||||
gameId: number
|
||||
) => {
|
||||
const game = await gameRepository.findOne({ where: { id: gameId } });
|
||||
const game = await gameRepository.findOne({
|
||||
where: { id: gameId, isDeleted: false },
|
||||
});
|
||||
|
||||
if (!game) return true;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue