mirror of
https://github.com/Artemis-RGB/Artemis
synced 2025-12-13 05:48:35 +00:00
19 lines
539 B
C#
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);
|
|
} |