adjust template and aboutboxes to use the following format: branchname-revision. for example: "GIT master-9058"
This commit is contained in:
parent
2d78810c59
commit
1c4a067547
Notes:
zeromus
2015-06-24 21:25:17 -05:00
r9058
|
@ -160,11 +160,11 @@ namespace BizHawk.Client.EmuHawk
|
|||
private void AboutBox_Load(object sender, EventArgs e)
|
||||
{
|
||||
#if DEBUG
|
||||
Text = "BizHawk Developer Build (DEBUG MODE) SVN r" + SubWCRev.SVN_REV;
|
||||
Text = "BizHawk Developer Build (DEBUG MODE) GIT " + SubWCRev.GIT_BRANCH + "-"+SubWCRev.SVN_REV;
|
||||
#else
|
||||
Text = "BizHawk Developer Build (RELEASE MODE) SVN r" + SubWCRev.SVN_REV;
|
||||
Text = "BizHawk Developer Build (RELEASE MODE) GIT " + SubWCRev.GIT_BRANCH + "-"+SubWCRev.SVN_REV;
|
||||
#endif
|
||||
if (DateTime.Now.Month == 12)
|
||||
if (DateTime.Now.Month == 12)
|
||||
if (DateTime.Now.Day > 17 && DateTime.Now.Day <= 25)
|
||||
{
|
||||
pictureBox1.Image = Properties.Resources.alt_about_image;
|
||||
|
|
|
@ -28,11 +28,11 @@ namespace BizHawk.Client.EmuHawk
|
|||
{
|
||||
if (VersionInfo.DeveloperBuild)
|
||||
{
|
||||
Text = " BizHawk (SVN r" + SubWCRev.SVN_REV + ")";
|
||||
Text = " BizHawk (GIT " + SubWCRev.GIT_BRANCH + "-" + SubWCRev.SVN_REV + ")";
|
||||
}
|
||||
else
|
||||
{
|
||||
Text = "Version " + VersionInfo.MAINVERSION + " (SVN " + SubWCRev.SVN_REV + ")";
|
||||
Text = "Version " + VersionInfo.MAINVERSION + " (GIT " + SubWCRev.GIT_BRANCH + "-" + SubWCRev.SVN_REV + ")";
|
||||
}
|
||||
|
||||
VersionLabel.Text = "Version " + VersionInfo.MAINVERSION + " " + VersionInfo.RELEASEDATE;
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
static class SubWCRev
|
||||
{
|
||||
public const string SVN_REV = "$WCREV$";
|
||||
public const string GIT_BRANCH = "$WCBRANCH$";
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue