refactor: streamline download completion handling

This commit is contained in:
Hachi-R
2024-12-21 16:27:28 -03:00
parent 5714c23073
commit 4b8569bd5e
2 changed files with 41 additions and 34 deletions

View File

@@ -1,7 +1,7 @@
import { gameRepository } from "@main/repository";
import { DownloadManager } from "./download/download-manager";
import { sleep } from "@main/helpers";
export const startSeedProcess = async () => {
const seedList = await gameRepository.find({
where: {
@@ -21,4 +21,3 @@ export const startSeedProcess = async () => {
await sleep(100);
});
};