Add Executable Plugin Loader

This commit is contained in:
qianlifeng
2014-07-05 23:10:34 +08:00
parent f01de3a69d
commit 659ff866e1
17 changed files with 850 additions and 542 deletions

View File

@@ -17,9 +17,16 @@ namespace Wox.Plugin
get { return "csharp"; }
}
public static string ExecutableFile
{
get { return "ExecutableFile"; }
}
public static bool IsAllowed(string language)
{
return language.ToUpper() == Python.ToUpper() || language.ToUpper() == CSharp.ToUpper();
return language.ToUpper() == Python.ToUpper()
|| language.ToUpper() == CSharp.ToUpper()
|| language.ToUpper() == ExecutableFile.ToUpper();
}
}
}