30 lines
786 B
C#
30 lines
786 B
C#
namespace CursorLang.Models;
|
|
|
|
/// <summary>
|
|
/// Which step the update is at. One value — one state of the interface:
|
|
/// the caption, the button and the progress bar are shown from it.
|
|
/// </summary>
|
|
public enum UpdateStatus
|
|
{
|
|
/// <summary>There have been no checks yet.</summary>
|
|
Idle,
|
|
|
|
/// <summary>A request to the repository is in flight.</summary>
|
|
Checking,
|
|
|
|
/// <summary>The latest version is installed.</summary>
|
|
UpToDate,
|
|
|
|
/// <summary>There is a newer version — it can be downloaded.</summary>
|
|
Available,
|
|
|
|
/// <summary>The package is downloading.</summary>
|
|
Downloading,
|
|
|
|
/// <summary>The package is downloaded and ready to install.</summary>
|
|
Ready,
|
|
|
|
/// <summary>The check or the download failed.</summary>
|
|
Failed,
|
|
}
|