mirror of
https://github.com/BepInEx/BepInEx.git
synced 2026-10-19 15:51:45 +00:00
Don't try to parse the wine version (#555)
This commit is contained in:
1 parent
9caf61dca0
commit
472e950179
1 file changed
+2
-2
@@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user