refactor: remove unused JsMultiLinkDownloader and ensure aria2 spawning on startup

This commit is contained in:
Moyasee
2026-01-11 15:36:16 +02:00
parent 5e4e03a958
commit 467b27baa3
3 changed files with 1 additions and 207 deletions

View File

@@ -34,11 +34,7 @@ export const loadState = async () => {
await import("./events");
// Only spawn aria2 if user explicitly disabled native HTTP downloader
// Default is to use native HTTP downloader (aria2 is opt-in)
if (userPreferences?.useNativeHttpDownloader === false) {
Aria2.spawn();
}
Aria2.spawn();
if (userPreferences?.realDebridApiToken) {
RealDebridClient.authorize(userPreferences.realDebridApiToken);