mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
Passwords inputs are now the correct type. Fix configure_indexer not returning errors. Fix build warning. Change AB, HDT, MTTV, PHD, ST to use generic web client.
This commit is contained in:
@@ -125,12 +125,16 @@ namespace Jackett.Services
|
||||
public string GetContentFolder()
|
||||
{
|
||||
// If we are debugging we can use the non copied content.
|
||||
var dir = Path.Combine(ApplicationFolder(), "Content");
|
||||
if (!Directory.Exists(dir))
|
||||
{
|
||||
dir = Path.Combine(ApplicationFolder(), "..\\..\\..\\Jackett\\Content");
|
||||
}
|
||||
string dir = Path.Combine(ApplicationFolder(), "Content"); ;
|
||||
|
||||
#if DEBUG
|
||||
// When we are running in debug use the source files
|
||||
var sourcePath = Path.GetFullPath(Path.Combine(ApplicationFolder(), "..\\..\\..\\Jackett\\Content"));
|
||||
if (Directory.Exists(sourcePath))
|
||||
{
|
||||
dir = sourcePath;
|
||||
}
|
||||
#endif
|
||||
return dir;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user