Allow plugin initialization when application starts

This commit is contained in:
Paddy Xu
2017-06-03 13:07:48 +03:00
parent 5886ee5c12
commit fb394288dd
12 changed files with 59 additions and 2 deletions

View File

@@ -12,6 +12,11 @@ namespace QuickLook.Plugin.HtmlViewer
public int Priority => int.MaxValue;
public bool AllowsTransparency => false;
public void Init()
{
Helper.SetBrowserFeatureControl();
}
public bool CanHandle(string path)
{
if (Directory.Exists(path))