BUG-2077: More improvements for the update check interval. Also corrected the readme.txt.template

This commit is contained in:
Robin 2016-12-30 11:15:00 +01:00
parent 245ffe5da9
commit b92d79ed39
5 changed files with 60 additions and 8 deletions

View file

@ -431,9 +431,13 @@ namespace GreenshotPlugin.Core {
{
UpdateCheckInterval = 14;
}
if (UpdateCheckInterval > 365)
{
UpdateCheckInterval = 365;
}
// Enable OneNote if upgrading from 1.1
if(ExcludeDestinations != null && ExcludeDestinations.Contains("OneNote")) {
if (ExcludeDestinations != null && ExcludeDestinations.Contains("OneNote")) {
if(LastSaveWithVersion != null && LastSaveWithVersion.StartsWith("1.1")) {
ExcludeDestinations.Remove("OneNote");
} else {