Files
cursor-lang/CursorLang.Core/Models/UpdateStatus.cs
T
alex 6259dbd6b3
Pull request / build (pull_request) Successful in 53s
lightweight variant
2026-08-12 16:01:54 +05:00

30 lines
791 B
C#

namespace CursorLang.Core.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,
}