Add a couple more named version fields

This commit is contained in:
Matt Nadareski
2022-12-08 14:59:15 -08:00
parent 51482dd225
commit 5f49b56c3d

View File

@@ -527,6 +527,11 @@ namespace BurnOutSharp.Wrappers
/// </summary>
public string CompanyName => GetVersionInfoString("CompanyName");
/// <summary>
/// "Debug version"
/// </summary>
public string DebugVersion => GetVersionInfoString("DebugVersion");
/// <summary>
/// File description to be presented to users. This string may be displayed in a
/// list box when the user is choosing files to install—for example, "Keyboard
@@ -597,7 +602,7 @@ namespace BurnOutSharp.Wrappers
/// M250E computers". This string should be present only if VS_FF_SPECIALBUILD is
/// specified in the fileflags parameter of the root block.
/// </summary>
public string SpecialBuild => GetVersionInfoString(key: "SpecialBuild");
public string SpecialBuild => GetVersionInfoString(key: "SpecialBuild") ?? GetVersionInfoString(key: "Special Build");
/// <summary>
/// "Trade name"