Don't try to parse the wine version (#555)

This commit is contained in:
js6pak authored and GitHub committed 2023-07-26 20:13:30 +02:00
1 parent 9caf61dca0
commit 472e950179
1 file changed
+2 -2
+2 -2
View File
@@ -10,7 +10,7 @@ internal static class PlatformUtils
{
public static readonly bool ProcessIs64Bit = IntPtr.Size >= 8;
public static Version WindowsVersion { get; set; }
public static Version WineVersion { get; set; }
public static string WineVersion { get; set; }
public static string LinuxArchitecture { get; set; }
public static string LinuxKernelVersion { get; set; }
@@ -81,7 +81,7 @@ internal static class PlatformUtils
{
current |= Platform.Wine;
var getVersion = wineGetVersion.AsDelegate<GetWineVersionDelegate>();
WineVersion = new Version(getVersion());
WineVersion = getVersion();
}
}
}