fix Content/Definition folder usage in Debug mode

This commit is contained in:
kaso17 2017-11-09 12:32:36 +01:00
parent aa35280ca9
commit 6d53e486c5
1 changed files with 2 additions and 2 deletions

View File

@ -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;