Change version number text in log and crash report

This commit is contained in:
spherallic 2023-05-30 12:14:57 +02:00
parent 86b0d431d8
commit d63c3c23bc
2 changed files with 2 additions and 2 deletions

View file

@ -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 + "\"");

View file

@ -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;