fix: fixing errors with electron dl manager

This commit is contained in:
Hydra 2024-05-05 19:18:48 +01:00
parent 11f1785432
commit 74a99f5bc8
51 changed files with 718 additions and 766 deletions

View file

@ -1,7 +1,7 @@
import path from "node:path";
import fs from "node:fs";
import { GameStatus } from "@globals";
import { GameStatus } from "@shared";
import { gameRepository } from "@main/repository";
import { getDownloadsPath } from "../helpers/get-downloads-path";
@ -16,6 +16,7 @@ const deleteGameFolder = async (
where: {
id: gameId,
status: GameStatus.Cancelled,
isDeleted: false,
},
});