mirror of
https://github.com/wwiinnddyy/LanMountainDesktop.git
synced 2026-06-20 15:44:25 +08:00
30 lines
888 B
C#
30 lines
888 B
C#
using LanDesktopPLONDS.Installer.Models;
|
|
|
|
namespace LanDesktopPLONDS.Installer.Services;
|
|
|
|
public interface IOnlineInstallService
|
|
{
|
|
Task<OnlineInstallPackageInfo> CheckLatestAsync(CancellationToken cancellationToken);
|
|
|
|
Task InstallFreshAsync(
|
|
string installPath,
|
|
IProgress<InstallerDeployProgress>? progress,
|
|
CancellationToken cancellationToken);
|
|
|
|
Task InstallFreshAsync(
|
|
string installPath,
|
|
OnlineInstallOptions options,
|
|
IProgress<InstallerDeployProgress>? progress,
|
|
CancellationToken cancellationToken);
|
|
|
|
Task RepairAsync(
|
|
string installPath,
|
|
IProgress<InstallerDeployProgress>? progress,
|
|
CancellationToken cancellationToken);
|
|
|
|
Task UpdateIncrementalAsync(
|
|
string installPath,
|
|
IProgress<InstallerDeployProgress>? progress,
|
|
CancellationToken cancellationToken);
|
|
}
|