From 069d143e0646480164d8cc14137ee840c9026a23 Mon Sep 17 00:00:00 2001 From: spherallic Date: Sun, 4 Jun 2023 22:41:53 +0200 Subject: [PATCH] Update version number to v0.2, update installer and rename default config --- ...lder.default.cfg => UZBuilder.default.cfg} | 0 Setup/UZBuilder_setup.iss | 24 +++++++++---------- Source/Core/Properties/AssemblyInfo.cs | 2 +- 3 files changed, 12 insertions(+), 14 deletions(-) rename Build/{UDBuilder.default.cfg => UZBuilder.default.cfg} (100%) diff --git a/Build/UDBuilder.default.cfg b/Build/UZBuilder.default.cfg similarity index 100% rename from Build/UDBuilder.default.cfg rename to Build/UZBuilder.default.cfg diff --git a/Setup/UZBuilder_setup.iss b/Setup/UZBuilder_setup.iss index fc1aeb9a..5b2c9095 100644 --- a/Setup/UZBuilder_setup.iss +++ b/Setup/UZBuilder_setup.iss @@ -4,16 +4,14 @@ #define public Dependency_NoExampleSetup #include "CodeDependencies.iss" -#define UDB_arch "x64" -#define UDB_GetVersionString() \ - Local[0] = GetVersionNumbersString("..\Build\Builder.exe"), \ - Delete(Local[0], 0, RPos(".", Local[0])+1), \ - "R" + Local[0] +#define UZB_arch "x86" +#define UZB_GetVersionString() \ + Local[0] = GetVersionNumbersString("..\Build\Builder.exe") [Setup] AppName=Ultimate Zone Builder -AppVerName=Ultimate Zone Builder v0.1 ({#UDB_arch}) -;AppVerName=Ultimate Doom Builder {#UDB_GetVersionString} ({#UDB_arch}) +AppVerName=Ultimate Zone Builder {#UZB_GetVersionString} ({#UZB_arch}) +VersionInfoVersion={#UZB_GetVersionString} AppPublisher=Sonic Team Junior AppPublisherURL=https://www.srb2.org/ AppSupportURL=https://git.do.srb2.org/STJr/UltimateZoneBuilder @@ -38,7 +36,7 @@ WizardImageFile=..\Setup\UZB-large.bmp WizardSmallImageFile=..\Setup\UZB-small.bmp WizardImageAlphaFormat=defined WizardImageStretch=false -#if UDB_arch != "x86" +#if UZB_arch != "x86" ArchitecturesInstallIn64BitMode=x64 ArchitecturesAllowed=x64 #endif @@ -53,7 +51,7 @@ Name: desktopicon; Description: {cm:CreateDesktopIcon}; GroupDescription: {cm:Ad Source: Builder.exe; DestDir: {app}; Flags: ignoreversion Source: Builder.pdb; DestDir: {app}; Flags: ignoreversion Source: Builder.exe.config; DestDir: {app}; Flags: ignoreversion -Source: UDBuilder.default.cfg; DestDir: {app}; Flags: ignoreversion +Source: UZBuilder.default.cfg; DestDir: {app}; Flags: ignoreversion //Source: Updater.exe; DestDir: {app}; Flags: ignoreversion Source: Updater.ini; DestDir: {app}; Flags: ignoreversion Source: Refmanual.chm; DestDir: {app}; Flags: ignoreversion @@ -142,11 +140,11 @@ begin if MsgBox('Delete map restore data and program configuration files?', mbConfirmation, MB_YESNO) = IDYES then begin // Remove restore data - DelTree(ExpandConstant('{localappdata}\Doom Builder\Restore'), True, True, True); + DelTree(ExpandConstant('{localappdata}\Ultimate Zone Builder\Restore'), True, True, True); // Remove configs - DeleteFile(ExpandConstant('{localappdata}\Doom Builder\UDBuilder.cfg')); - DeleteFile(ExpandConstant('{localappdata}\Doom Builder\UDBuilder.log')); - DeleteFile(ExpandConstant('{localappdata}\Doom Builder\UDBCrash.txt')); + DeleteFile(ExpandConstant('{localappdata}\Ultimate Zone Builder\UZBuilder.cfg')); + DeleteFile(ExpandConstant('{localappdata}\Ultimate Zone Builder\UZBuilder.log')); + DeleteFile(ExpandConstant('{localappdata}\Ultimate Zone Builder\UZBCrash.txt')); end; end; \ No newline at end of file diff --git a/Source/Core/Properties/AssemblyInfo.cs b/Source/Core/Properties/AssemblyInfo.cs index 8ed35d2a..4638a710 100755 --- a/Source/Core/Properties/AssemblyInfo.cs +++ b/Source/Core/Properties/AssemblyInfo.cs @@ -30,5 +30,5 @@ using CodeImp.DoomBuilder; // Build Number // Revision // -[assembly: AssemblyVersion("0.1.0.4116")] +[assembly: AssemblyVersion("0.2.0.4116")] [assembly: NeutralResourcesLanguageAttribute("en")]