diff --git a/Plugins/Wox.Plugin.PluginManagement/Main.cs b/Plugins/Wox.Plugin.PluginManagement/Main.cs index 82abb4014..43179414d 100644 --- a/Plugins/Wox.Plugin.PluginManagement/Main.cs +++ b/Plugins/Wox.Plugin.PluginManagement/Main.cs @@ -81,7 +81,7 @@ namespace Wox.Plugin.PluginManagement Action = e => { UnInstalledPlugins(plugin); - return true; + return false; } }); } diff --git a/Wox.Plugin.System/WebSearchPlugin.cs b/Wox.Plugin.System/WebSearchPlugin.cs index c207f4c8d..efb5faa4c 100644 --- a/Wox.Plugin.System/WebSearchPlugin.cs +++ b/Wox.Plugin.System/WebSearchPlugin.cs @@ -21,10 +21,15 @@ namespace Wox.Plugin.System if (webSearch != null) { - string keyword = query.ActionParameters.Count > 0 ? query.RawQuery.Substring(query.RawQuery.IndexOf(' ') + 1) : ""; + string keyword = query.ActionParameters.Count > 0 ? query.GetAllRemainingParameter() : ""; + string title = string.Format("Search {0} for \"{1}\"", webSearch.Title, keyword); + if (string.IsNullOrEmpty(keyword)) + { + title = "Search " + webSearch.Title; + } results.Add(new Result() { - Title = string.Format("Search {0} for \"{1}\"", webSearch.Title, keyword), + Title = title, Score = 6, IcoPath = webSearch.IconPath, Action = (c) => diff --git a/Wox.Plugin.System/WindowsShellRun.cs b/Wox.Plugin.System/WindowsShellRun.cs index 4bb4fc2be..8a7dc4937 100644 --- a/Wox.Plugin.System/WindowsShellRun.cs +++ b/Wox.Plugin.System/WindowsShellRun.cs @@ -184,7 +184,10 @@ namespace Wox.Plugin.System { try { - pszOut = Path.GetFullPath(pszCommand); // PathQualifyDef(pszOut, pszDir, 0); + //not right here. + //e.g. If I input qs which is a shortcut in a folder, and this folder has been added to Path + //After execute this, qs will trun to c:/xxxxxx/xxxxxxxx/qs, and give a file not find error. + //pszOut = Path.GetFullPath(pszCommand); // PathQualifyDef(pszOut, pszDir, 0); } catch { diff --git a/Wox/bin/Debug/Wox.exe b/Wox/bin/Debug/Wox.exe index ccc52490d..9dbcb50dd 100644 Binary files a/Wox/bin/Debug/Wox.exe and b/Wox/bin/Debug/Wox.exe differ