mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-14 10:47:08 -07:00
replaced compile time with runtime mono check.
This commit is contained in:
parent
88b06e8747
commit
2873fc9f6d
7 changed files with 35 additions and 30 deletions
|
@ -36,6 +36,11 @@ namespace NzbDrone.Common
|
|||
}
|
||||
}
|
||||
|
||||
public static bool IsMono
|
||||
{
|
||||
get { return Type.GetType("Mono.Runtime") != null; }
|
||||
}
|
||||
|
||||
public static bool IsDebug
|
||||
{
|
||||
get
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue