feat: support download directory white list (#752)

This commit is contained in:
Levi authored and GitHub committed 2024-09-20 21:32:21 +08:00
1 parent d3750464aa
commit 2dc7048cba
5 files changed
+65 -19

No files matched your search

+4 -3
View File
@@ -116,9 +116,10 @@ type DownloaderConfig struct {
Controller *controller.Controller
FetchManagers []fetcher.FetcherManager
RefreshInterval int `json:"refreshInterval"` // RefreshInterval time duration to refresh task progress(ms)
Storage Storage
StorageDir string
RefreshInterval int `json:"refreshInterval"` // RefreshInterval time duration to refresh task progress(ms)
Storage Storage
StorageDir string
DownloadDirWhiteList []string `json:"downloadDirWhiteList"`
ProductionMode bool