feat: adding aria2c

This commit is contained in:
Chubby Granny Chaser 2024-11-28 19:13:15 +00:00
parent fe8f962fb0
commit a847f9370c
No known key found for this signature in database

View File

@ -1,4 +1,4 @@
import { DownloadManager, Ludusavi, startMainLoop } from "./services";
import { Ludusavi, startMainLoop } from "./services";
import {
downloadQueueRepository,
userPreferencesRepository,
@ -25,14 +25,14 @@ const loadState = async (userPreferences: UserPreferences | null) => {
uploadGamesBatch();
});
const [nextQueueItem] = await downloadQueueRepository.find({
order: {
id: "DESC",
},
relations: {
game: true,
},
});
// const [nextQueueItem] = await downloadQueueRepository.find({
// order: {
// id: "DESC",
// },
// relations: {
// game: true,
// },
// });
PythonRPC.spawn();
// start download