Skip to content
Snippets Groups Projects
Commit d63c3c23 authored by sphere's avatar sphere
Browse files

Change version number text in log and crash report

parent 86b0d431
No related branches found
No related tags found
No related merge requests found
...@@ -665,7 +665,7 @@ namespace CodeImp.DoomBuilder ...@@ -665,7 +665,7 @@ namespace CodeImp.DoomBuilder
// Remove the previous log file and start logging // Remove the previous log file and start logging
if(File.Exists(logfile)) File.Delete(logfile); if(File.Exists(logfile)) File.Delete(logfile);
string platform = Environment.Is64BitProcess ? "x64" : "x86"; 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("Application path: \"" + apppath + "\"");
General.WriteLogLine("Temporary path: \"" + temppath + "\""); General.WriteLogLine("Temporary path: \"" + temppath + "\"");
General.WriteLogLine("Local settings path: \"" + settingspath + "\""); General.WriteLogLine("Local settings path: \"" + settingspath + "\"");
......
...@@ -114,7 +114,7 @@ namespace CodeImp.DoomBuilder.Windows ...@@ -114,7 +114,7 @@ namespace CodeImp.DoomBuilder.Windows
} }
// Get UZB version // 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; result += "Platform: " + (Environment.Is64BitProcess ? "x64" : "x86") + Environment.NewLine + Environment.NewLine;
return result; return result;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment