small improvements
This commit is contained in:
parent
ddc56e7a41
commit
2225790af2
4 changed files with 14 additions and 3 deletions
|
@ -8,7 +8,7 @@ namespace WeeXnes.Core
|
||||||
{
|
{
|
||||||
public class Information
|
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 EncryptionHash = "8zf5#RdyQ]$4x4_";
|
||||||
public const string ApiUrl = "https://api.github.com/repos/weexnes/weexnessuite/releases/latest";
|
public const string ApiUrl = "https://api.github.com/repos/weexnes/weexnessuite/releases/latest";
|
||||||
}
|
}
|
||||||
|
|
|
@ -46,6 +46,9 @@
|
||||||
<MenuItem
|
<MenuItem
|
||||||
Header="Stop RPC"
|
Header="Stop RPC"
|
||||||
Click="ContextStopRpc_OnClick"/>
|
Click="ContextStopRpc_OnClick"/>
|
||||||
|
<MenuItem
|
||||||
|
Header="Exit"
|
||||||
|
Click="ContextExit_OnClick"/>
|
||||||
</ContextMenu>
|
</ContextMenu>
|
||||||
</ui:NotifyIcon.Menu>
|
</ui:NotifyIcon.Menu>
|
||||||
</ui:NotifyIcon>
|
</ui:NotifyIcon>
|
||||||
|
|
|
@ -25,7 +25,8 @@ namespace WeeXnes
|
||||||
{
|
{
|
||||||
ButtonRpc.RaiseEvent(new RoutedEventArgs(ButtonBase.ClickEvent));
|
ButtonRpc.RaiseEvent(new RoutedEventArgs(ButtonBase.ClickEvent));
|
||||||
MainFrame.Source = new Uri("/Views/DiscordRPC/RunRPCView.xaml",UriKind.Relative);
|
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)
|
private void NotifyIcon_OnLeftClick(NotifyIcon sender, RoutedEventArgs e)
|
||||||
{
|
{
|
||||||
|
|
||||||
|
this.ShowInTaskbar = true;
|
||||||
this.Show();
|
this.Show();
|
||||||
}
|
}
|
||||||
|
private void ContextExit_OnClick(object sender, RoutedEventArgs e)
|
||||||
|
{
|
||||||
|
Environment.Exit(0);
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||||
<Version>4.4.3</Version>
|
<Version>4.4.4</Version>
|
||||||
<ProjectGuid>{4B33CEE7-C74D-43B9-B99A-8B273D5195BC}</ProjectGuid>
|
<ProjectGuid>{4B33CEE7-C74D-43B9-B99A-8B273D5195BC}</ProjectGuid>
|
||||||
<OutputType>WinExe</OutputType>
|
<OutputType>WinExe</OutputType>
|
||||||
<RootNamespace>WeeXnes</RootNamespace>
|
<RootNamespace>WeeXnes</RootNamespace>
|
||||||
|
|
Loading…
Add table
Reference in a new issue