mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
Merge pull request #1254 from LostDragonist/winver_fix
Fix detection of Windows 10 versions
This commit is contained in:
commit
13c39d3d27
@ -42,7 +42,7 @@ namespace Wabbajack
|
||||
|
||||
Utils.Log($"Detected Windows Version: {p.WindowsVersion}");
|
||||
|
||||
if (!(p.WindowsVersion.Major >= 6 && p.WindowsVersion.Minor >= 2))
|
||||
if (!(p.WindowsVersion.Major >= 10 && p.WindowsVersion.Minor >= 0))
|
||||
Utils.Log(
|
||||
$"You are not running a recent version of Windows (version 10 or greater), Wabbajack is not supported on OS versions older than Windows 10.");
|
||||
|
||||
@ -83,7 +83,7 @@ namespace Wabbajack
|
||||
catch (Exception ex)
|
||||
{
|
||||
Utils.LogStraightToFile("Error");
|
||||
Utils.LogStraightToFile(ex.ToString());
|
||||
Utils.LogStraightToFile(ex.ToString());
|
||||
Environment.Exit(-1);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user