diff options
| author | Roy Ben Shabat <Roy.mail.net@gmail.com> | 2020-08-19 18:53:57 +0300 |
|---|---|---|
| committer | Roy Ben Shabat <Roy.mail.net@gmail.com> | 2020-08-19 18:53:57 +0300 |
| commit | b0255ed4ae2827801d13cec175e57108a0666db9 (patch) | |
| tree | 12ac9d45076fafcb0d64d0acd1500187b8633a6b /Software/Visual_Studio/PPC/Tango.PPC.UI/PPCApplication/DefaultPPCApplicationManager.cs | |
| parent | a98c3806ce736eb1578e759720451dd6c3e87199 (diff) | |
| download | Tango-b0255ed4ae2827801d13cec175e57108a0666db9.tar.gz Tango-b0255ed4ae2827801d13cec175e57108a0666db9.zip | |
Fixed several issues.
Diffstat (limited to 'Software/Visual_Studio/PPC/Tango.PPC.UI/PPCApplication/DefaultPPCApplicationManager.cs')
| -rw-r--r-- | Software/Visual_Studio/PPC/Tango.PPC.UI/PPCApplication/DefaultPPCApplicationManager.cs | 22 |
1 files changed, 22 insertions, 0 deletions
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); |
