mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Merge pull request #43 from cxfksword/master
fix Everything plugin closure bug
This commit is contained in:
commit
9678f1d1f2
1 changed files with 4 additions and 3 deletions
|
|
@ -19,15 +19,16 @@ namespace Wox.Plugin.Everything
|
|||
IEnumerable<string> enumerable = api.Search(query.ActionParameters[0], 0, 100);
|
||||
foreach (string s in enumerable)
|
||||
{
|
||||
var path = s;
|
||||
Result r = new Result();
|
||||
r.Title = Path.GetFileName(s);
|
||||
r.SubTitle = s;
|
||||
r.Title = Path.GetFileName(path);
|
||||
r.SubTitle = path;
|
||||
r.Action = (c) =>
|
||||
{
|
||||
context.HideApp();
|
||||
System.Diagnostics.ProcessStartInfo info = new System.Diagnostics.ProcessStartInfo();
|
||||
info.UseShellExecute = true;
|
||||
info.FileName = s;
|
||||
info.FileName = path;
|
||||
try
|
||||
{
|
||||
System.Diagnostics.Process.Start(info);
|
||||
|
|
|
|||
Loading…
Reference in a new issue