Working App execution

This commit is contained in:
Divyansh
2020-04-03 12:02:57 -07:00
parent b6f927c454
commit 293a8a8199

View File

@@ -19,6 +19,7 @@ using MessageBox = System.Windows.MessageBox;
using Microsoft.Toolkit.Wpf.UI.XamlHost;
using Windows.UI.Xaml.Controls;
using System.Diagnostics;
using Wox.Plugin;
namespace PowerLauncher
{
@@ -286,7 +287,14 @@ namespace PowerLauncher
if (args != null)
{
ResultViewModel result = (ResultViewModel)args.SelectedItem;
Process.Start(result.Result.SubTitle);
bool hideWindow = result.Result.Action != null && result.Result.Action(new ActionContext
{
});
if (!hideWindow)
{
Console.WriteLine("here");
}
}
}