mirror of
https://github.com/SoPat712/allstarr.git
synced 2026-02-09 23:55:10 -05:00
refactor: centralize cache path logic and add TMPDIR documentation
This commit is contained in:
@@ -47,7 +47,7 @@ public abstract class BaseDownloadService : IDownloadService
|
||||
Logger = logger;
|
||||
|
||||
DownloadPath = configuration["Library:DownloadPath"] ?? "./downloads";
|
||||
CachePath = Path.Combine(Path.GetTempPath(), "octo-fiesta-cache");
|
||||
CachePath = PathHelper.GetCachePath();
|
||||
|
||||
if (!Directory.Exists(DownloadPath))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user