2019-05-20 01:08:26 +02:00
|
|
|
|
namespace ElectronNET.API.Entities
|
|
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
///
|
|
|
|
|
|
/// </summary>
|
2025-11-22 02:16:10 +01:00
|
|
|
|
/// <remarks>Up-to-date with electron-updater 6.7.2</remarks>
|
2019-05-20 01:08:26 +02:00
|
|
|
|
public class UpdateCheckResult
|
|
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
2025-11-22 02:16:10 +01:00
|
|
|
|
/// Gets or sets the update information discovered by the check.
|
2019-05-20 01:08:26 +02:00
|
|
|
|
/// </summary>
|
|
|
|
|
|
public UpdateInfo UpdateInfo { get; set; } = new UpdateInfo();
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
2025-11-22 02:16:10 +01:00
|
|
|
|
/// Gets or sets the download artifacts (if provided by the updater).
|
2019-05-20 01:08:26 +02:00
|
|
|
|
/// </summary>
|
|
|
|
|
|
public string[] Download { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
2025-11-22 02:16:10 +01:00
|
|
|
|
/// Gets or sets the cancellation token for the update process.
|
2019-05-20 01:08:26 +02:00
|
|
|
|
/// </summary>
|
|
|
|
|
|
public UpdateCancellationToken CancellationToken { get; set; }
|
|
|
|
|
|
}
|
2025-11-15 08:05:31 +01:00
|
|
|
|
}
|