Fix hardcode

Fix #385
This commit is contained in:
bao-qian 2015-11-29 08:50:17 +00:00
parent 7b386c4f41
commit 8b8a303365

View File

@ -176,8 +176,7 @@ namespace Wox.Plugin.CMD
private void OnWinRPressed()
{
context.API.ShowApp();
// todo don't hardcode action keywords.
context.API.ChangeQuery($">{Plugin.Query.TermSeperater}");
context.API.ChangeQuery($"{context.CurrentPluginMetadata.ActionKeywords[0]}{Plugin.Query.TermSeperater}");
}
public Control CreateSettingPanel()