fix startup hang

This commit is contained in:
2025-12-16 05:14:25 +01:00
parent f9cbb69939
commit 7811b36edf
2 changed files with 2 additions and 2 deletions

View File

@@ -39,7 +39,7 @@ namespace Blueberry.Redmine
{ {
try try
{ {
await _apiClient.GetUserAsync(); await _apiClient.GetUserAsync(token: token);
return true; return true;
} }
catch (Exception) catch (Exception)

View File

@@ -8,7 +8,7 @@ namespace Blueberry
public static class UpdateManager public static class UpdateManager
{ {
private const string releaseUrl = "https://git.technopunk.space/api/v1/repos/tomi/Blueberry/releases/latest"; private const string releaseUrl = "https://git.technopunk.space/api/v1/repos/tomi/Blueberry/releases/latest";
public const string CurrentVersion = "0.1.3"; public const string CurrentVersion = "0.1.4";
private static readonly string AppDir = AppDomain.CurrentDomain.BaseDirectory; private static readonly string AppDir = AppDomain.CurrentDomain.BaseDirectory;
private static readonly HttpClient client = new(); private static readonly HttpClient client = new();
public delegate void DownloadCompletedEventArgs(); public delegate void DownloadCompletedEventArgs();