Compare commits

..

1 Commits
1.0.2 ... main

Author SHA1 Message Date
62caf3a610 fixed update check
All checks were successful
Build and Relase / build-release (push) Successful in 1m10s
Build and Relase / create-release (push) Successful in 12s
2025-11-14 09:44:36 +01:00
2 changed files with 8 additions and 2 deletions

View File

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