Removed the plugin attribute, and changed the way the plugins are copied to their destination. This should simplify the packaging, for InnoSetup but also the .zip & protable (which are still missing at this moment)

This commit is contained in:
Robin Krom 2021-05-18 13:51:00 +02:00
parent 8e121f25f0
commit d429e4f6af
No known key found for this signature in database
GPG key ID: BCC01364F1371490
26 changed files with 189 additions and 151 deletions

View file

@ -33,7 +33,6 @@ namespace Greenshot.Plugin.Confluence
/// <summary>
/// This is the ConfluencePlugin base code
/// </summary>
[Plugin("Confluence", true)]
public class ConfluencePlugin : IGreenshotPlugin
{
private static readonly log4net.ILog LOG = log4net.LogManager.GetLogger(typeof(ConfluencePlugin));
@ -46,11 +45,21 @@ namespace Greenshot.Plugin.Confluence
GC.SuppressFinalize(this);
}
protected void Dispose(bool disposing)
private void Dispose(bool disposing)
{
//if (disposing) {}
}
/// <summary>
/// Name of the plugin
/// </summary>
public string Name => "Confluence";
/// <summary>
/// Specifies if the plugin can be configured
/// </summary>
public bool IsConfigurable => true;
private static void CreateConfluenceConnector()
{
if (_confluenceConnector == null)