From b0255ed4ae2827801d13cec175e57108a0666db9 Mon Sep 17 00:00:00 2001 From: Roy Ben Shabat Date: Wed, 19 Aug 2020 18:53:57 +0300 Subject: Fixed several issues. --- .../PPCApplication/DefaultPPCApplicationManager.cs | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'Software/Visual_Studio/PPC/Tango.PPC.UI/PPCApplication/DefaultPPCApplicationManager.cs') diff --git a/Software/Visual_Studio/PPC/Tango.PPC.UI/PPCApplication/DefaultPPCApplicationManager.cs b/Software/Visual_Studio/PPC/Tango.PPC.UI/PPCApplication/DefaultPPCApplicationManager.cs index c28c683bd..54193a793 100644 --- a/Software/Visual_Studio/PPC/Tango.PPC.UI/PPCApplication/DefaultPPCApplicationManager.cs +++ b/Software/Visual_Studio/PPC/Tango.PPC.UI/PPCApplication/DefaultPPCApplicationManager.cs @@ -34,6 +34,7 @@ using Tango.PPC.Common.Messages; using Tango.Core.ExtensionMethods; using Tango.PPC.Common.Navigation; using Tango.PPC.Common.Synchronization; +using Tango.Insights; namespace Tango.PPC.UI.PPCApplication { @@ -471,6 +472,13 @@ namespace Tango.PPC.UI.PPCApplication } catch { } + try + { + var frame = InsightsFrame.CreateEmpty(DateTime.UtcNow); + InsightsManager.Default.InsertFrame(frame); + } + catch {} + Environment.Exit(0); } @@ -516,6 +524,13 @@ namespace Tango.PPC.UI.PPCApplication } catch { } + try + { + var frame = InsightsFrame.CreateEmpty(DateTime.UtcNow); + InsightsManager.Default.InsertFrame(frame); + } + catch { } + Process.Start(Application.ResourceAssembly.Location); Environment.Exit(0); } @@ -547,6 +562,13 @@ namespace Tango.PPC.UI.PPCApplication } catch { } + try + { + var frame = InsightsFrame.CreateEmpty(DateTime.UtcNow); + InsightsManager.Default.InsertFrame(frame); + } + catch { } + LogManager.Log($"Executing '{updaterPath}' with arguments '{arguments}'..."); Process.Start(updaterPath, arguments); -- cgit v1.3.1