core: use programdata for windows cardigann folder. #13860 (#13875)

This commit is contained in:
ilike2burnthing 2023-01-07 20:37:02 +00:00 committed by GitHub
parent 761ec2b7f6
commit 9a69317f68
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -208,8 +208,7 @@ namespace Jackett.Common.Services
}
else
{
dirs.Add(Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), "cardigann\\definitions\\"));
dirs.Add(Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData), "cardigann\\definitions\\"));
dirs.Add(Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.CommonApplicationData), "Jackett\\cardigann\\definitions\\"));
}
// If we are debugging we can use the non copied definitions.