1
0
Fork 0
mirror of https://github.com/Jackett/Jackett synced 2025-02-23 14:51:01 +00:00

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

View file

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