Added some logic for the update checks:

* release only sees RC & unstable if "check for unstable" is set
* Release candidates only sees unstable if "check for unstable" is set
Meaning even if check for unstable is not set:
* unstable versions always find newer unstable versions
* RC's always find newer RC's
* Releases only find releases

git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2151 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
This commit is contained in:
RKrom 2012-10-17 15:40:55 +00:00
commit b4bc530ee6
3 changed files with 58 additions and 9 deletions

View file

@ -190,7 +190,12 @@ namespace GreenshotPlugin.Core {
[IniProperty("ExperimentalFeatures", Description="A list of experimental features, this allows us to test certain features before releasing them.", ExcludeIfNull=true)]
public List<string> ExperimentalFeatures;
// Specify what THIS build is
public bool isRelease = false;
public bool isReleaseCandidate = true;
public bool isUnstable = false;
/// <summary>
/// A helper method which returns true if the supplied experimental feature is enabled
/// </summary>