mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-10 21:41:51 +02:00
Add Executable Plugin Loader
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user