mirror of
https://github.com/greenshot/greenshot
synced 2025-08-13 18:27:03 -07:00
Fix for self-awareness about UNSTABLE / Release
This commit is contained in:
parent
9bed298611
commit
c6bd67ce4b
2 changed files with 2 additions and 2 deletions
|
@ -137,7 +137,7 @@ namespace Greenshot.Experimental {
|
||||||
// the current version is a release or release candidate AND check unstable is turned off.
|
// the current version is a release or release candidate AND check unstable is turned off.
|
||||||
if (rssFile.isUnstable) {
|
if (rssFile.isUnstable) {
|
||||||
// Skip if we shouldn't check unstables
|
// Skip if we shouldn't check unstables
|
||||||
if ((conf.BuildState == BuildStates.RELEASE || conf.BuildState == BuildStates.RELEASE_CANDIDATE) && !conf.CheckForUnstable) {
|
if ((conf.BuildState == BuildStates.RELEASE) && !conf.CheckForUnstable) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -254,7 +254,7 @@ namespace GreenshotPlugin.Core {
|
||||||
public bool ProcessEXIFOrientation;
|
public bool ProcessEXIFOrientation;
|
||||||
|
|
||||||
// Specifies what THIS build is
|
// 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>
|
/// <summary>
|
||||||
/// A helper method which returns true if the supplied experimental feature is enabled
|
/// A helper method which returns true if the supplied experimental feature is enabled
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue