Compare commits

..

No commits in common. "main" and "1.0.2" have entirely different histories.
main ... 1.0.2

2 changed files with 2 additions and 8 deletions

View File

@ -48,6 +48,7 @@ namespace Click_to_Call_Tray
_hotkeyManager.HotkeyPressed += OnHotkeyPressed;
var currentTag = UpdateCheck.GetCurrentVersion();
// Optional: asynchronous update check
Task.Run(() => UpdateCheck.CheckUpdate());
ApplicationConfiguration.Initialize();

View File

@ -1,7 +1,6 @@
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Net.Http;
using System.Text;
@ -58,13 +57,7 @@ namespace Click_to_Call_Tray
"Click-to-Call-Tray Updater", MessageBoxButtons.YesNo);
if (dialogResult == DialogResult.Yes)
{
var ps = new ProcessStartInfo("https://git.jan.sx/krjan02/Click-to-Call-Tray/releases/latest")
{
UseShellExecute = true,
Verb = "open"
};
Process.Start(ps);
Application.Exit();
System.Diagnostics.Process.Start("https://git.jan.sx/krjan02/Click-to-Call-Tray/releases/latest");
}
return true;
}