Skip to content

Commit

Permalink
Don't try to parse the wine version (#555)
Browse files Browse the repository at this point in the history
  • Loading branch information
js6pak committed Jul 26, 2023
1 parent 9caf61d commit 472e950
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions BepInEx.Preloader.Core/PlatformUtils.cs
Expand Up @@ -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; }
Expand Down Expand Up @@ -81,7 +81,7 @@ public static void SetPlatform()
{
current |= Platform.Wine;
var getVersion = wineGetVersion.AsDelegate<GetWineVersionDelegate>();
WineVersion = new Version(getVersion());
WineVersion = getVersion();
}
}
}
Expand Down

0 comments on commit 472e950

Please sign in to comment.