mirror of https://github.com/Jackett/Jackett
fix Content/Definition folder usage in Debug mode
This commit is contained in:
parent
aa35280ca9
commit
6d53e486c5
|
@ -173,7 +173,7 @@ namespace Jackett.Services
|
||||||
|
|
||||||
#if DEBUG
|
#if DEBUG
|
||||||
// When we are running in debug use the source files
|
// When we are running in debug use the source files
|
||||||
var sourcePath = Path.GetFullPath(Path.Combine(ApplicationFolder(), "..\\..\\..\\Jackett\\Content"));
|
var sourcePath = Path.GetFullPath(Path.Combine(ApplicationFolder(), "..\\..\\..\\Jackett.Common\\Content"));
|
||||||
if (Directory.Exists(sourcePath))
|
if (Directory.Exists(sourcePath))
|
||||||
{
|
{
|
||||||
dir = sourcePath;
|
dir = sourcePath;
|
||||||
|
@ -202,7 +202,7 @@ namespace Jackett.Services
|
||||||
|
|
||||||
#if DEBUG
|
#if DEBUG
|
||||||
// When we are running in debug use the source files
|
// When we are running in debug use the source files
|
||||||
var sourcePath = Path.GetFullPath(Path.Combine(ApplicationFolder(), "..\\..\\..\\Jackett\\Definitions"));
|
var sourcePath = Path.GetFullPath(Path.Combine(ApplicationFolder(), "..\\..\\..\\Jackett.Common\\Definitions"));
|
||||||
if (Directory.Exists(sourcePath))
|
if (Directory.Exists(sourcePath))
|
||||||
{
|
{
|
||||||
dir = sourcePath;
|
dir = sourcePath;
|
||||||
|
|
Loading…
Reference in New Issue