mirror of
https://github.com/greenshot/greenshot
synced 2025-08-19 21:13:23 -07:00
Enabled the OneNote destination.
This commit is contained in:
parent
0f63bf837f
commit
626d607895
2 changed files with 12 additions and 1 deletions
|
@ -167,7 +167,7 @@ namespace GreenshotPlugin.Core {
|
|||
public List<string> IncludePlugins;
|
||||
[IniProperty("ExcludePlugins", Description="Comma separated list of Plugins which are NOT allowed.")]
|
||||
public List<string> ExcludePlugins;
|
||||
[IniProperty("ExcludeDestinations", Description = "Comma separated list of destinations which should be disabled.", DefaultValue = "OneNote")]
|
||||
[IniProperty("ExcludeDestinations", Description = "Comma separated list of destinations which should be disabled.")]
|
||||
public List<string> ExcludeDestinations;
|
||||
|
||||
[IniProperty("UpdateCheckInterval", Description="How many days between every update check? (0=no checks)", DefaultValue="1")]
|
||||
|
@ -357,6 +357,16 @@ namespace GreenshotPlugin.Core {
|
|||
OutputFileAutoReduceColors = false;
|
||||
}
|
||||
|
||||
// Enable OneNote if upgrading from 1.1
|
||||
if(ExcludeDestinations != null && ExcludeDestinations.Contains("OneNote")) {
|
||||
if(LastSaveWithVersion != null && LastSaveWithVersion.StartsWith("1.1")) {
|
||||
ExcludeDestinations.Remove("OneNote");
|
||||
} else {
|
||||
// TODO: Remove with the release
|
||||
ExcludeDestinations.Remove("OneNote");
|
||||
}
|
||||
}
|
||||
|
||||
if (OutputDestinations == null) {
|
||||
OutputDestinations = new List<string>();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue