Add portable python environment

This commit is contained in:
qianlifeng
2014-07-09 18:15:23 +08:00
parent 3efe3d63ce
commit 53cb4189d8
893 changed files with 19533 additions and 42 deletions

View File

@@ -9,24 +9,24 @@ namespace Wox.Plugin
{
public static string Python
{
get { return "python"; }
get { return "PYTHON"; }
}
public static string CSharp
{
get { return "csharp"; }
get { return "CSHARP"; }
}
public static string ExecutableFile
public static string Executable
{
get { return "executablefile"; }
get { return "EXECUTABLE"; }
}
public static bool IsAllowed(string language)
{
return language.ToUpper() == Python.ToUpper()
|| language.ToUpper() == CSharp.ToUpper()
|| language.ToUpper() == ExecutableFile.ToUpper();
|| language.ToUpper() == Executable.ToUpper();
}
}
}