mirror of
https://github.com/greenshot/greenshot
synced 2025-07-16 10:03:44 -07:00
First step in moving towards replaceable notification messages, extracted the logic to do so into it's own module. [skip ci]
This commit is contained in:
parent
87b7905457
commit
d0846b0f09
4 changed files with 168 additions and 65 deletions
|
@ -21,6 +21,12 @@ namespace GreenshotPlugin.Core
|
|||
/// <returns>true if we are running on Windows 10</returns>
|
||||
public static bool IsWindows10 { get; } = WinVersion.Major == 10;
|
||||
|
||||
/// <summary>
|
||||
/// Test if the current OS is before Windows 10
|
||||
/// </summary>
|
||||
/// <returns>true if we are running on Windows before 10</returns>
|
||||
public static bool IsBeforeWindows10 { get; } = WinVersion.Major < 10;
|
||||
|
||||
/// <summary>
|
||||
/// Test if the current OS is Windows 10 or later
|
||||
/// </summary>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue