mirror of
https://github.com/mRemoteNG/mRemoteNG.git
synced 2026-02-17 22:11:48 +08:00
slightly improved the setup of Runtime.IsPortableEdition
refactoring the name of this property is now safer
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user