mirror of
https://github.com/wwiinnddyy/LanMountainDesktop.git
synced 2026-06-22 00:54:26 +08:00
fix.在线安装器,启动器
This commit is contained in:
@@ -1,6 +1,15 @@
|
||||
using LanMountainDesktop.Launcher.Models;
|
||||
|
||||
namespace LanMountainDesktop.Launcher.Oobe;
|
||||
|
||||
internal sealed record OobeStepResult(bool ContinueLaunch, LauncherResult? Result = null)
|
||||
{
|
||||
public static OobeStepResult Continue { get; } = new(true);
|
||||
|
||||
public static OobeStepResult Complete(LauncherResult result) => new(false, result);
|
||||
}
|
||||
|
||||
internal interface IOobeStep
|
||||
{
|
||||
Task RunAsync(CancellationToken cancellationToken);
|
||||
Task<OobeStepResult> RunAsync(CancellationToken cancellationToken);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user