Made changes so debug builds are more obvious.

This commit is contained in:
gb.luke 2010-07-09 21:24:22 +00:00
parent 407721c9c8
commit 692bd3963b
2 changed files with 5 additions and 0 deletions

View File

@ -44,7 +44,12 @@ namespace NUS_Downloader
private readonly string CURRENT_DIR = Directory.GetCurrentDirectory(); private readonly string CURRENT_DIR = Directory.GetCurrentDirectory();
// TODO: Always remember to change version! // TODO: Always remember to change version!
#if DEBUG
private static string svnversion = "$Rev$";
private string version = String.Format("SVN {0}", ((int.Parse(svnversion.Replace("$Rev$","")))+1));
#else
private string version = "v2.0 Beta"; private string version = "v2.0 Beta";
#endif
private static bool dsidecrypt = false; private static bool dsidecrypt = false;