From 6d53e486c5dc6574066f222287da016df2e72c87 Mon Sep 17 00:00:00 2001 From: kaso17 Date: Thu, 9 Nov 2017 12:32:36 +0100 Subject: [PATCH] fix Content/Definition folder usage in Debug mode --- src/Jackett.Common/Services/ConfigurationService.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Jackett.Common/Services/ConfigurationService.cs b/src/Jackett.Common/Services/ConfigurationService.cs index 52dfbdae6..c09dec82d 100644 --- a/src/Jackett.Common/Services/ConfigurationService.cs +++ b/src/Jackett.Common/Services/ConfigurationService.cs @@ -173,7 +173,7 @@ namespace Jackett.Services #if DEBUG // 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)) { dir = sourcePath; @@ -202,7 +202,7 @@ namespace Jackett.Services #if DEBUG // 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)) { dir = sourcePath;