From d63c3c23bcc61bc58cbb4234c39073bb3ad88fc0 Mon Sep 17 00:00:00 2001 From: spherallic Date: Tue, 30 May 2023 12:14:57 +0200 Subject: [PATCH] Change version number text in log and crash report --- Source/Core/General/General.cs | 2 +- Source/Core/Windows/ExceptionDialog.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/Core/General/General.cs b/Source/Core/General/General.cs index 27c474f9..5d7cd498 100755 --- a/Source/Core/General/General.cs +++ b/Source/Core/General/General.cs @@ -665,7 +665,7 @@ namespace CodeImp.DoomBuilder // Remove the previous log file and start logging if(File.Exists(logfile)) File.Delete(logfile); string platform = Environment.Is64BitProcess ? "x64" : "x86"; - General.WriteLogLine("Ultimate Zone Builder R" + thisasm.GetName().Version.Revision + " (" + platform + ", " + commithash + ") startup"); //mxd + General.WriteLogLine("Ultimate Zone Builder v" + thisasm.GetName().Version + " (" + platform + ", " + commithash + ") startup"); //mxd General.WriteLogLine("Application path: \"" + apppath + "\""); General.WriteLogLine("Temporary path: \"" + temppath + "\""); General.WriteLogLine("Local settings path: \"" + settingspath + "\""); diff --git a/Source/Core/Windows/ExceptionDialog.cs b/Source/Core/Windows/ExceptionDialog.cs index 95f015a7..0e49635b 100755 --- a/Source/Core/Windows/ExceptionDialog.cs +++ b/Source/Core/Windows/ExceptionDialog.cs @@ -114,7 +114,7 @@ namespace CodeImp.DoomBuilder.Windows } // Get UZB version - result += "UZB: " + General.ThisAssembly.GetName().Version + Environment.NewLine; + result += "UZB: v" + General.ThisAssembly.GetName().Version + Environment.NewLine; result += "Platform: " + (Environment.Is64BitProcess ? "x64" : "x86") + Environment.NewLine + Environment.NewLine; return result;