/
githubmirror
/
Files
Обзор
Документация
Войти
/
githubmirror
/
Files
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/Files.App/Data/Contracts/IUpdateService.cs
46 строк
1 KB
Yair
Code Quality: Modified update services to use appinstaller instead of bundle
04 май 2026, 08:15
04 май 2026, 08:15
272c491
Код
Авторство
О чём код?
// Copyright (c) Files Community // Licensed under the MIT License. namespace Files.App.Data.Contracts { public interface IUpdateService : INotifyPropertyChanged { /// <summary> /// Gets a value indicating whether updates are available. /// </summary> bool IsUpdateAvailable { get; } /// <summary> /// Gets a value indicating if an update is in progress. /// </summary> bool IsUpdating { get; } /// <summary> /// Gets the percentage (0-100) of the update download/install in progress. /// </summary> int UpdateProgress { get; } /// <summary> /// Gets a value indicating if the app is being used the first time after an update. /// </summary> bool IsAppUpdated { get; } /// <summary> /// Gets a value that indicates if there are release notes available for the current version of the app. /// </summary> bool AreReleaseNotesAvailable { get; } Task DownloadUpdatesAsync(); Task DownloadMandatoryUpdatesAsync(); Task CheckForUpdatesAsync(); Task CheckForReleaseNotesAsync(); /// <summary> /// Replace Files.App.Launcher.exe if it is used and has been updated /// </summary> Task CheckAndUpdateFilesLauncherAsync(); } }