mirror of
https://github.com/Jackett/Jackett
synced 2025-02-22 22:31:09 +00:00
fix Content/Definition folder usage in Debug mode
This commit is contained in:
parent
aa35280ca9
commit
6d53e486c5
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue