Update version number to v0.2, update installer and rename default config

This commit is contained in:
spherallic 2023-06-04 22:41:53 +02:00
parent 28c48e3a03
commit 069d143e06
3 changed files with 12 additions and 14 deletions

View file

@ -4,16 +4,14 @@
#define public Dependency_NoExampleSetup #define public Dependency_NoExampleSetup
#include "CodeDependencies.iss" #include "CodeDependencies.iss"
#define UDB_arch "x64" #define UZB_arch "x86"
#define UDB_GetVersionString() \ #define UZB_GetVersionString() \
Local[0] = GetVersionNumbersString("..\Build\Builder.exe"), \ Local[0] = GetVersionNumbersString("..\Build\Builder.exe")
Delete(Local[0], 0, RPos(".", Local[0])+1), \
"R" + Local[0]
[Setup] [Setup]
AppName=Ultimate Zone Builder AppName=Ultimate Zone Builder
AppVerName=Ultimate Zone Builder v0.1 ({#UDB_arch}) AppVerName=Ultimate Zone Builder {#UZB_GetVersionString} ({#UZB_arch})
;AppVerName=Ultimate Doom Builder {#UDB_GetVersionString} ({#UDB_arch}) VersionInfoVersion={#UZB_GetVersionString}
AppPublisher=Sonic Team Junior AppPublisher=Sonic Team Junior
AppPublisherURL=https://www.srb2.org/ AppPublisherURL=https://www.srb2.org/
AppSupportURL=https://git.do.srb2.org/STJr/UltimateZoneBuilder AppSupportURL=https://git.do.srb2.org/STJr/UltimateZoneBuilder
@ -38,7 +36,7 @@ WizardImageFile=..\Setup\UZB-large.bmp
WizardSmallImageFile=..\Setup\UZB-small.bmp WizardSmallImageFile=..\Setup\UZB-small.bmp
WizardImageAlphaFormat=defined WizardImageAlphaFormat=defined
WizardImageStretch=false WizardImageStretch=false
#if UDB_arch != "x86" #if UZB_arch != "x86"
ArchitecturesInstallIn64BitMode=x64 ArchitecturesInstallIn64BitMode=x64
ArchitecturesAllowed=x64 ArchitecturesAllowed=x64
#endif #endif
@ -53,7 +51,7 @@ Name: desktopicon; Description: {cm:CreateDesktopIcon}; GroupDescription: {cm:Ad
Source: Builder.exe; DestDir: {app}; Flags: ignoreversion Source: Builder.exe; DestDir: {app}; Flags: ignoreversion
Source: Builder.pdb; DestDir: {app}; Flags: ignoreversion Source: Builder.pdb; DestDir: {app}; Flags: ignoreversion
Source: Builder.exe.config; 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.exe; DestDir: {app}; Flags: ignoreversion
Source: Updater.ini; DestDir: {app}; Flags: ignoreversion Source: Updater.ini; DestDir: {app}; Flags: ignoreversion
Source: Refmanual.chm; 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 if MsgBox('Delete map restore data and program configuration files?', mbConfirmation, MB_YESNO) = IDYES then
begin begin
// Remove restore data // Remove restore data
DelTree(ExpandConstant('{localappdata}\Doom Builder\Restore'), True, True, True); DelTree(ExpandConstant('{localappdata}\Ultimate Zone Builder\Restore'), True, True, True);
// Remove configs // Remove configs
DeleteFile(ExpandConstant('{localappdata}\Doom Builder\UDBuilder.cfg')); DeleteFile(ExpandConstant('{localappdata}\Ultimate Zone Builder\UZBuilder.cfg'));
DeleteFile(ExpandConstant('{localappdata}\Doom Builder\UDBuilder.log')); DeleteFile(ExpandConstant('{localappdata}\Ultimate Zone Builder\UZBuilder.log'));
DeleteFile(ExpandConstant('{localappdata}\Doom Builder\UDBCrash.txt')); DeleteFile(ExpandConstant('{localappdata}\Ultimate Zone Builder\UZBCrash.txt'));
end; end;
end; end;

View file

@ -30,5 +30,5 @@ using CodeImp.DoomBuilder;
// Build Number // Build Number
// Revision // Revision
// //
[assembly: AssemblyVersion("0.1.0.4116")] [assembly: AssemblyVersion("0.2.0.4116")]
[assembly: NeutralResourcesLanguageAttribute("en")] [assembly: NeutralResourcesLanguageAttribute("en")]