mirror of
https://github.com/greenshot/greenshot
synced 2025-07-16 10:03:44 -07:00
Fixed the issue that someone could have a windows 10 version which is older than what we can support. (#207)
Also upgrade Inno Setup and SVG
This commit is contained in:
parent
2a5ae1557e
commit
5db1f5564b
5 changed files with 15 additions and 6 deletions
|
@ -41,7 +41,7 @@ namespace GreenshotPlugin.Core
|
|||
public static bool IsWindows7OrLater { get; } = WinVersion.Major == 6 && WinVersion.Minor >= 1 || WinVersion.Major > 6;
|
||||
|
||||
public static bool IsWindows7OrLower { get; } = WinVersionTotal <= 6.1;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Test if the current OS is Windows 8.0
|
||||
/// </summary>
|
||||
|
@ -102,6 +102,11 @@ namespace GreenshotPlugin.Core
|
|||
/// <returns>true if we are running on Windows XP or later</returns>
|
||||
public static bool IsWindowsXpOrLater { get; } = WinVersion.Major >= 5 || WinVersion.Major == 5 && WinVersion.Minor >= 1;
|
||||
|
||||
/// <summary>
|
||||
/// Returns the windows build number
|
||||
/// </summary>
|
||||
public static int BuildVersion => WinVersion.Build;
|
||||
|
||||
/// <summary>
|
||||
/// Test if the current Windows version is 10 and the build number or later
|
||||
/// See the build numbers <a href="https://en.wikipedia.org/wiki/Windows_10_version_history">here</a>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue