Update version number to 0.9

This commit is contained in:
spherallic 2024-06-25 16:19:22 +02:00
parent 4e906a3c35
commit a27edb384f
4 changed files with 37 additions and 34 deletions

View file

@ -7,6 +7,8 @@
#define UZB_arch "x64"
#define UZB_GetVersionString() \
Local[0] = GetVersionNumbersString("..\Build\Builder.exe")
#define UZB_GetVersionInfo() \
Local[0] = GetStringFileInfo("..\Build\Builder.exe", PRODUCT_VERSION)
#define UZB_GetVersion() \
GetVersionComponents("..\Build\Builder.exe", \
Local[0], Local[1], Local[2], Local[3]), \
@ -20,7 +22,7 @@
[Setup]
AppName=Ultimate Zone Builder
AppVerName=Ultimate Zone Builder {#UZB_GetVersionString} ({#UZB_arch})
AppVerName=Ultimate Zone Builder {#UZB_GetVersionInfo} ({#UZB_arch})
VersionInfoVersion={#UZB_GetVersionString}
AppPublisher=Sonic Team Junior
AppPublisherURL=https://www.srb2.org/
@ -31,7 +33,7 @@ DefaultGroupName=Ultimate Zone Builder
AllowNoIcons=true
LicenseFile=..\LICENSE.txt
OutputDir=..\Release
OutputBaseFilename="UZBuilder v{#UZB_GetVersion} Setup ({#UZB_bit})"
OutputBaseFilename="UZBuilder v{#UZB_GetVersionInfo} Setup ({#UZB_bit})"
Compression=lzma/ultra64
SolidCompression=true
SourceDir=..\Build

View file

@ -30,5 +30,6 @@ using CodeImp.DoomBuilder;
// Build Number
// Revision
//
[assembly: AssemblyVersion("0.8.0.4171")]
[assembly: AssemblyVersion("0.9.0.4173")]
[assembly: AssemblyInformationalVersion("0.9")]
[assembly: NeutralResourcesLanguageAttribute("en")]

View file

@ -432,7 +432,7 @@ namespace CodeImp.DoomBuilder.Windows
//mxd
private void UpdateTitle()
{
string programname = this.Text = Application.ProductName + " v" + General.ThisAssembly.GetName().Version.Major + "." + General.ThisAssembly.GetName().Version.Minor;
string programname = this.Text = Application.ProductName + " v" + FileVersionInfo.GetVersionInfo(General.ThisAssembly.Location).ProductVersion;
if (Environment.Is64BitProcess)
programname += " (64-bit)";
else programname += " (32-bit)";

View file

@ -29,5 +29,5 @@ using System.Resources;
// Build Number
// Revision
//
[assembly: AssemblyVersion("1.0.0.4171")]
[assembly: AssemblyVersion("1.0.0.4173")]
[assembly: NeutralResourcesLanguageAttribute("en")]