mirror of
https://github.com/greenshot/greenshot
synced 2025-07-16 10:03:44 -07:00
Merge remote-tracking branch 'remotes/origin/master' into release/1.2.9
This commit is contained in:
commit
0323705513
276 changed files with 5382 additions and 3666 deletions
|
@ -36,12 +36,12 @@ namespace Greenshot.Helpers {
|
|||
[Serializable]
|
||||
public class PluginHelper : IGreenshotHost {
|
||||
private static readonly ILog LOG = LogManager.GetLogger(typeof(PluginHelper));
|
||||
private static CoreConfiguration conf = IniConfig.GetIniSection<CoreConfiguration>();
|
||||
private static readonly CoreConfiguration conf = IniConfig.GetIniSection<CoreConfiguration>();
|
||||
|
||||
private static string pluginPath = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData),Application.ProductName);
|
||||
private static string applicationPath = Path.GetDirectoryName(Application.ExecutablePath);
|
||||
private static string pafPath = Path.Combine(Application.StartupPath, @"App\Greenshot");
|
||||
private static IDictionary<PluginAttribute, IGreenshotPlugin> plugins = new SortedDictionary<PluginAttribute, IGreenshotPlugin>();
|
||||
private static readonly string pluginPath = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData),Application.ProductName);
|
||||
private static readonly string applicationPath = Path.GetDirectoryName(Application.ExecutablePath);
|
||||
private static readonly string pafPath = Path.Combine(Application.StartupPath, @"App\Greenshot");
|
||||
private static readonly IDictionary<PluginAttribute, IGreenshotPlugin> plugins = new SortedDictionary<PluginAttribute, IGreenshotPlugin>();
|
||||
private static readonly PluginHelper instance = new PluginHelper();
|
||||
public static PluginHelper Instance {
|
||||
get {
|
||||
|
@ -66,7 +66,7 @@ namespace Greenshot.Helpers {
|
|||
}
|
||||
|
||||
public bool HasPlugins() {
|
||||
return (plugins != null && plugins.Count > 0);
|
||||
return plugins != null && plugins.Count > 0;
|
||||
}
|
||||
|
||||
public void Shutdown() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue