diff --git a/WeeXnes/Core/Global.cs b/WeeXnes/Core/Global.cs index 9ca1a77..b220f08 100644 --- a/WeeXnes/Core/Global.cs +++ b/WeeXnes/Core/Global.cs @@ -8,7 +8,7 @@ namespace WeeXnes.Core { public class Information { - public const string Version = "4.4.3"; + public const string Version = "4.4.4"; public const string EncryptionHash = "8zf5#RdyQ]$4x4_"; public const string ApiUrl = "https://api.github.com/repos/weexnes/weexnessuite/releases/latest"; } diff --git a/WeeXnes/MainWindow.xaml b/WeeXnes/MainWindow.xaml index b5f59c8..d0d2c9f 100644 --- a/WeeXnes/MainWindow.xaml +++ b/WeeXnes/MainWindow.xaml @@ -46,6 +46,9 @@ + diff --git a/WeeXnes/MainWindow.xaml.cs b/WeeXnes/MainWindow.xaml.cs index 558f776..80dd627 100644 --- a/WeeXnes/MainWindow.xaml.cs +++ b/WeeXnes/MainWindow.xaml.cs @@ -25,7 +25,8 @@ namespace WeeXnes { ButtonRpc.RaiseEvent(new RoutedEventArgs(ButtonBase.ClickEvent)); MainFrame.Source = new Uri("/Views/DiscordRPC/RunRPCView.xaml",UriKind.Relative); - WindowState = WindowState.Minimized; + this.Visibility = Visibility.Collapsed; + this.ShowInTaskbar = false; } } @@ -42,8 +43,15 @@ namespace WeeXnes private void NotifyIcon_OnLeftClick(NotifyIcon sender, RoutedEventArgs e) { + + this.ShowInTaskbar = true; this.Show(); } + private void ContextExit_OnClick(object sender, RoutedEventArgs e) + { + Environment.Exit(0); + } + } } diff --git a/WeeXnes/WeeXnes.csproj b/WeeXnes/WeeXnes.csproj index 15785cf..b4b1cbc 100644 --- a/WeeXnes/WeeXnes.csproj +++ b/WeeXnes/WeeXnes.csproj @@ -4,7 +4,7 @@ Debug AnyCPU - 4.4.3 + 4.4.4 {4B33CEE7-C74D-43B9-B99A-8B273D5195BC} WinExe WeeXnes