Skip to content

Commit

Permalink
v2.8.1
Browse files Browse the repository at this point in the history
  • Loading branch information
msasanmh committed Nov 22, 2023
1 parent 17c52f6 commit 9323ef3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
7 changes: 1 addition & 6 deletions SecureDNSClient/Forms/FormMain.cs
Original file line number Diff line number Diff line change
Expand Up @@ -132,12 +132,7 @@ static string getArchText(Architecture archOs, Architecture archProcess)

// Write binaries if not exist or needs update
bool successWrite = await WriteNecessaryFilesToDisk();
if (successWrite)
{
string msgWB = $"{Info.GetAppInfo(Assembly.GetExecutingAssembly()).ProductName} is ready.{NL}";
this.InvokeIt(() => CustomRichTextBoxLog.AppendText(msgWB, Color.LightGray));
}
else
if (!successWrite)
{
string msgWB = $"Couldn't write binaries to disk.{NL}";
msgWB += $"Restart Application.{NL}";
Expand Down
4 changes: 4 additions & 0 deletions SecureDNSClient/Forms/Methods.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
using MsmhToolsWinFormsClass.Themes;
using System.Diagnostics;
using System.Net;
using System.Reflection;
using System.Runtime.InteropServices;
using Task = System.Threading.Tasks.Task;

Expand Down Expand Up @@ -689,6 +690,9 @@ async Task<bool> writeBinariesAsync()
// Update old version numbers
await File.WriteAllTextAsync(SecureDNS.BinariesVersionPath, NecessaryFiles.Resource1.versions);

string msgWB = $"{Info.GetAppInfo(Assembly.GetExecutingAssembly()).ProductName} is ready.{NL}";
this.InvokeIt(() => CustomRichTextBoxLog.AppendText(msgWB, Color.LightGray));

return true;
}
catch (Exception ex)
Expand Down

0 comments on commit 9323ef3

Please sign in to comment.