mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-06 11:16:51 +02:00
Add portable python environment
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user