Changed the version number. The revision number is now only used internally to indicate the GZDB revision number this is based on.

This commit is contained in:
MascaraSnake 2016-01-01 23:45:22 +01:00
parent e398e05358
commit 4540a9b59d
4 changed files with 4 additions and 4 deletions

View File

@ -149,7 +149,7 @@ namespace CodeImp.DoomBuilder.GZBuilder.Windows
}
// Get Zone Builder version
result += "ZB: R" + General.ThisAssembly.GetName().Version.Revision + Environment.NewLine + Environment.NewLine;
result += "Zone Builder: v" + General.ThisAssembly.GetName().Version.Major + "." + General.ThisAssembly.GetName().Version.Minor + Environment.NewLine + Environment.NewLine;
return result;
}

View File

@ -594,7 +594,7 @@ namespace CodeImp.DoomBuilder
// Remove the previous log file and start logging
if(File.Exists(logfile)) File.Delete(logfile);
General.WriteLogLine("Zone Builder R" + thisasm.GetName().Version.Revision + " startup"); //mxd
General.WriteLogLine("Zone Builder v" + thisasm.GetName().Version.Major + "." + thisasm.GetName().Version.Minor + " startup"); //mxd
General.WriteLogLine("Application path: " + apppath);
General.WriteLogLine("Temporary path: " + temppath);
General.WriteLogLine("Local settings path: " + settingspath);

View File

@ -28,4 +28,4 @@ using System.Runtime.InteropServices;
// Build Number
// Revision
//
[assembly: AssemblyVersion("2.3.0.2411")]
[assembly: AssemblyVersion("0.1.0.2462")]

View File

@ -429,7 +429,7 @@ namespace CodeImp.DoomBuilder.Windows
#if DEBUG
this.Text = Application.ProductName + " - DEVBUILD";
#else
this.Text = Application.ProductName + " R" + General.ThisAssembly.GetName().Version.Revision;
this.Text = Application.ProductName + " v" + General.ThisAssembly.GetName().Version.Major + "." + General.ThisAssembly.GetName().Version.Minor;
#endif
}
}