From 6d28bb5e2c386c78c7f5d744cdba36f7980bdf69 Mon Sep 17 00:00:00 2001 From: Niko Ehrenfeuchter <nikolaus.ehrenfeuchter@unibas.ch> Date: Tue, 6 Feb 2018 10:34:02 +0100 Subject: [PATCH] Set the AppTitle explicitly for the tray app. Refers to #2 --- ATxTray/AutoTxTray.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ATxTray/AutoTxTray.cs b/ATxTray/AutoTxTray.cs index 03e300e..3fb8c7f 100644 --- a/ATxTray/AutoTxTray.cs +++ b/ATxTray/AutoTxTray.cs @@ -18,7 +18,9 @@ namespace ATxTray { private static readonly Logger Log = LogManager.GetCurrentClassLogger(); - private static readonly string AppTitle = Path.GetFileNameWithoutExtension(Application.ExecutablePath); + // private static readonly string AppTitle = Path.GetFileNameWithoutExtension(Application.ExecutablePath); + private const string AppTitle = "AutoTx Tray Monitor"; + private static readonly Timer AppTimer = new Timer(1000); private static bool _terminate = false; -- GitLab