1
0
Fork 0
mirror of https://github.com/Jackett/Jackett synced 2025-03-09 13:52:03 +00:00

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

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.