migrate to Pilz.AppVersion
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
namespace Pilz.Updating.Client;
|
||||
|
||||
public class UpdateClient(string updateUrl, AppVersion currentVersion, Channels minimumChannel)
|
||||
public class UpdateClient(string updateUrl, AppVersion currentVersion, AppChannel minimumChannel)
|
||||
{
|
||||
// E v e n t s
|
||||
|
||||
@@ -17,7 +17,7 @@ public class UpdateClient(string updateUrl, AppVersion currentVersion, Channels
|
||||
public HttpClient WebClient { get; private set; } = new();
|
||||
public string UpdateUrl { get; private set; } = updateUrl;
|
||||
public AppVersion CurrentVersion { get; private set; } = currentVersion;
|
||||
public Channels MinimumChannel { get; private set; } = (Channels)Math.Max((int)minimumChannel, (int)currentVersion.Channel);
|
||||
public AppChannel MinimumChannel { get; private set; } = (AppChannel)Math.Max((int)minimumChannel, (int)currentVersion.Channel);
|
||||
public UpdateInfo? UpdateInfo { get; private set; }
|
||||
public UpdatePackageInfo? UpdatePackageInfo { get; private set; }
|
||||
public string? HostApplicationPath { get; set; }
|
||||
|
||||
Reference in New Issue
Block a user