[PT Run] Add logs for Launcher (#8489)

This commit is contained in:
Mykhailo Pylyp
2020-12-10 14:56:16 +02:00
committed by GitHub
parent 1790bfe91c
commit 6cefb4e83f
3 changed files with 8 additions and 1 deletions

View File

@@ -3,8 +3,10 @@
// See the LICENSE file in the project root for more information.
using System;
using System.Reflection;
using System.Threading;
using System.Windows;
using Wox.Plugin.Logger;
namespace PowerLauncher.Helper
{
@@ -19,6 +21,7 @@ namespace PowerLauncher.Helper
{
if (eventHandle.WaitOne())
{
Log.Info("Successfully waited for POWER_LAUNCHER_SHARED_EVENT", MethodBase.GetCurrentMethod().DeclaringType);
Application.Current.Dispatcher.Invoke(callback);
}
}