diff --git a/Ghost/Ghost.csproj b/Ghost/Ghost.csproj index c03e1d2..2e01cd8 100644 --- a/Ghost/Ghost.csproj +++ b/Ghost/Ghost.csproj @@ -11,6 +11,7 @@ true true true + assets\cat_hiding.ico @@ -44,6 +45,10 @@ + + + + diff --git a/Ghost/assets/cat_hiding.ico b/Ghost/assets/cat_hiding.ico new file mode 100644 index 0000000..ad92a1f Binary files /dev/null and b/Ghost/assets/cat_hiding.ico differ diff --git a/Ghost/classes/TrayUtils.cs b/Ghost/classes/TrayUtils.cs index 34b7686..7aff4da 100644 --- a/Ghost/classes/TrayUtils.cs +++ b/Ghost/classes/TrayUtils.cs @@ -30,7 +30,7 @@ public TrayUtils(MainWindow mw) { trayIcon = new NotifyIcon(); trayIcon.Init(); - trayIcon.Icon = new BitmapImage(new Uri("pack://application:,,,/assets/reload-white.png")); + trayIcon.Icon = new BitmapImage(new Uri("pack://application:,,,/assets/cat_hiding.ico")); trayIcon.Text = Globals.fullName; trayIcon.ToolTip = Globals.name; //trayIcon.IsBlink = true; @@ -74,6 +74,7 @@ private void init_options() { }; exit.Click += (sender, e) => { mainWindow.Close(); + Environment.Exit(0); };