1
0
mirror of https://github.com/Artemis-RGB/Artemis synced 2025-12-13 05:48:35 +00:00
Artemis/src/Artemis.UI/Services/Updating/IUpdateService.cs
2023-03-04 16:30:41 +01:00

19 lines
539 B
C#

using System.Threading.Tasks;
using Artemis.UI.Services.Interfaces;
using Artemis.WebClient.Updating;
namespace Artemis.UI.Services.Updating;
public interface IUpdateService : IArtemisUIService
{
string Channel { get; }
string? PreviousVersion { get; }
IGetNextRelease_NextPublishedRelease? CachedLatestRelease { get; }
Task CacheLatestRelease();
Task<bool> CheckForUpdate();
void QueueUpdate(string version);
ReleaseInstaller GetReleaseInstaller(string releaseId);
void RestartForUpdate(bool silent);
}