Fix for self-awareness about UNSTABLE / Release

This commit is contained in:
RKrom 2014-06-17 14:33:33 +02:00
parent 9bed298611
commit c6bd67ce4b
2 changed files with 2 additions and 2 deletions

View file

@ -254,7 +254,7 @@ namespace GreenshotPlugin.Core {
public bool ProcessEXIFOrientation;
// Specifies what THIS build is
public BuildStates BuildState = BuildStates.RELEASE;
public BuildStates BuildState = Assembly.GetExecutingAssembly().GetName().Version.Build % 2 == 0 ? BuildStates.UNSTABLE : BuildStates.RELEASE;
/// <summary>
/// A helper method which returns true if the supplied experimental feature is enabled