feat: setting external common redist

This commit is contained in:
Chubby Granny Chaser
2025-04-02 19:06:21 +01:00
parent 01d440590b
commit 379e90568a
17 changed files with 77 additions and 69 deletions

View File

@@ -9,7 +9,7 @@ import { Downloader } from "@shared";
import { levelKeys, db } from "./level";
import type { UserPreferences } from "@types";
import { TorBoxClient } from "./services/download/torbox";
import { CommonRedistManager } from "./services/common-redist-manager";
export const loadState = async () => {
const userPreferences = await db.get<string, UserPreferences | null>(
levelKeys.userPreferences,
@@ -65,4 +65,6 @@ export const loadState = async () => {
await DownloadManager.startRPC(nextItemOnQueue, downloadsToSeed);
startMainLoop();
CommonRedistManager.downloadCommonRedist();
};