slightly improved the setup of Runtime.IsPortableEdition

refactoring the name of this property is now safer
This commit is contained in:
David Sparer
2017-05-11 15:39:33 -06:00
parent 4090930142
commit 36304e8356

View File

@@ -25,11 +25,17 @@ namespace mRemoteNG.App
{
#region Public Properties
#if PORTABLE
public static bool IsPortableEdition { get; } = true;
#else
public static bool IsPortableEdition { get; } = false;
#endif
public static bool IsPortableEdition
{
get
{
#if PORTABLE
return true;
#else
return false;
#endif
}
}
public static WindowList WindowList { get; set; }
public static MessageCollector MessageCollector { get; } = new MessageCollector();