fix(downloads): support Transmission and aria2 end to end

Fixes #65
This commit is contained in:
ShukeBta
2026-08-10 21:04:04 +08:00
parent c0d743d89d
commit 42ef19b7e5
43 changed files with 2350 additions and 480 deletions
+1
View File
@@ -158,6 +158,7 @@ func (b *serviceContainerBuilder) initIdentityServices() {
func (b *serviceContainerBuilder) initSiteDownloadServices() {
b.c.Site = NewSiteService(b.log, b.repos, b.flareSolverrURL())
b.c.Downloads = NewDownloadService(b.log, b.repos, b.c.WSHub, b.c.Organizer, b.c.Site)
b.c.Downloads.SetDownloadManager(b.c.DownloadMgr)
b.c.Organizer.SetActiveDownloadPathProvider(b.c.Downloads.ActiveDownloadPaths)
b.c.Downloads.SetScanner(b.c.Scan)
b.c.Downloads.SetTaskTracker(b.c.Tasks)