mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-20 21:43:33 -07:00
ignore WindowsService tests in *nix systems.
This commit is contained in:
parent
3cf527bfa2
commit
a4ee4a913f
2 changed files with 14 additions and 0 deletions
|
@ -44,6 +44,15 @@ namespace NzbDrone.Common
|
|||
}
|
||||
}
|
||||
|
||||
public static bool IsLinux
|
||||
{
|
||||
get
|
||||
{
|
||||
int p = (int)Environment.OSVersion.Platform;
|
||||
return (p == 4) || (p == 6) || (p == 128);
|
||||
}
|
||||
}
|
||||
|
||||
public static bool IsDebug
|
||||
{
|
||||
get
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue