ui(client): migrate to AvaloniaUI
This commit is contained in:
@@ -10,12 +10,12 @@ public class AppUpdater(string updateUrl)
|
||||
private class UpdateInfo
|
||||
{
|
||||
[JsonConverter(typeof(VersionConverter))]
|
||||
public Version Version { get; set; }
|
||||
public string DownloadUrl { get; set; }
|
||||
public Version? Version { get; set; }
|
||||
public string? DownloadUrl { get; set; }
|
||||
}
|
||||
|
||||
private readonly HttpClient httpClient = new();
|
||||
private UpdateInfo info;
|
||||
private UpdateInfo? info;
|
||||
|
||||
public async Task<bool> Check()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user