fully fixed issues with previous updates ( hopefully )
This commit is contained in:
parent
a91c4af09f
commit
45e43d49e6
5 changed files with 8 additions and 5 deletions
|
@ -6,7 +6,7 @@ namespace WeeXnes.Core
|
|||
{
|
||||
public class Information
|
||||
{
|
||||
public const string Version = "4.1.1";
|
||||
public const string Version = "4.1.3";
|
||||
public const string EncryptionHash = "8zf5#RdyQ]$4x4_";
|
||||
public const string ApiUrl = "https://api.github.com/repos/weexnes/weexnessuite/releases/latest";
|
||||
}
|
||||
|
|
|
@ -14,6 +14,7 @@ namespace WeeXnes
|
|||
public MainWindow()
|
||||
{
|
||||
InitializeComponent();
|
||||
Wpf.Ui.Appearance.Accent.ApplySystemAccent();
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
/>
|
||||
</StackPanel>
|
||||
</ui:CardAction>
|
||||
<RichTextBox Grid.Row="1" Name="RichTextBoxRPCLog">
|
||||
<RichTextBox Grid.Row="1" Name="RichTextBoxRPCLog" IsReadOnly="True">
|
||||
<RichTextBox.Resources>
|
||||
<Style TargetType="{x:Type Paragraph}">
|
||||
<Setter Property="Margin" Value="0"/>
|
||||
|
|
|
@ -21,7 +21,6 @@ namespace WeeXnes.Views.DiscordRPC
|
|||
SetupLogListener();
|
||||
SetupBackgroundWorker();
|
||||
}
|
||||
|
||||
public void SetupLogListener()
|
||||
{
|
||||
Data.LogCache.ValueChanged += LogChanged;
|
||||
|
@ -38,9 +37,10 @@ namespace WeeXnes.Views.DiscordRPC
|
|||
this.Dispatcher.Invoke(() =>
|
||||
{
|
||||
RichTextBoxRPCLog.AppendText(Data.LogCache.Value + "\n");
|
||||
RichTextBoxRPCLog.ScrollToEnd();
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
private void SetupBackgroundWorker()
|
||||
{
|
||||
backgroundWorker.WorkerReportsProgress = true;
|
||||
|
@ -78,6 +78,7 @@ namespace WeeXnes.Views.DiscordRPC
|
|||
|
||||
private void BackgroundWorkerOnDoWork(object sender, DoWorkEventArgs e)
|
||||
{
|
||||
Data.LogCache.Value = "RPC Thread is running";
|
||||
bool runWorker = true;
|
||||
while (runWorker)
|
||||
{
|
||||
|
@ -98,6 +99,7 @@ namespace WeeXnes.Views.DiscordRPC
|
|||
foreach (Game game in DiscordRPCView.Data.Games)
|
||||
game.Stop();
|
||||
Console.WriteLine("Thread Stopped");
|
||||
Data.LogCache.Value = "RPC Thread has stopped";
|
||||
}
|
||||
|
||||
private void RunRPCView_OnUnloaded(object sender, RoutedEventArgs e)
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<Version>4.1.1</Version>
|
||||
<Version>4.1.3</Version>
|
||||
<ProjectGuid>{4B33CEE7-C74D-43B9-B99A-8B273D5195BC}</ProjectGuid>
|
||||
<OutputType>WinExe</OutputType>
|
||||
<RootNamespace>WeeXnes</RootNamespace>
|
||||
|
|
Loading…
Add table
Reference in a new issue