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 { import {
downloadQueueRepository, downloadQueueRepository,
userPreferencesRepository, userPreferencesRepository,
@ -25,14 +25,14 @@ const loadState = async (userPreferences: UserPreferences | null) => {
uploadGamesBatch(); uploadGamesBatch();
}); });
const [nextQueueItem] = await downloadQueueRepository.find({ // const [nextQueueItem] = await downloadQueueRepository.find({
order: { // order: {
id: "DESC", // id: "DESC",
}, // },
relations: { // relations: {
game: true, // game: true,
}, // },
}); // });
PythonRPC.spawn(); PythonRPC.spawn();
// start download // start download