fix startup hang
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
@@ -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();
|
||||||
|
|||||||
Reference in New Issue
Block a user