mirror of
https://github.com/Readarr/Readarr
synced 2025-12-28 11:13:22 +01:00
added /run/ to none-production start paths.
This commit is contained in:
parent
661ba97215
commit
9abd5c0e28
1 changed files with 3 additions and 1 deletions
|
|
@ -64,7 +64,9 @@ private static bool InternalIsProduction()
|
|||
if (lowerProcessName.Contains("jetbrain")) return false;
|
||||
if (lowerProcessName.Contains("resharper")) return false;
|
||||
|
||||
if (Directory.GetCurrentDirectory().ToLower().Contains("teamcity")) return false;
|
||||
string lowerCurrentDir = Directory.GetCurrentDirectory().ToLower();
|
||||
if (lowerCurrentDir.Contains("teamcity")) return false;
|
||||
if (lowerCurrentDir.StartsWith("/run/")) return false;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue