mirror of
https://github.com/wwiinnddyy/LanMountainDesktop.git
synced 2026-06-21 16:14:28 +08:00
feat.在线安装器,更好的Issue与pull request模板。
This commit is contained in:
10
LanDesktopPLONDS.installer/Models/InstallerDeployProgress.cs
Normal file
10
LanDesktopPLONDS.installer/Models/InstallerDeployProgress.cs
Normal file
@@ -0,0 +1,10 @@
|
||||
namespace LanDesktopPLONDS.Installer.Models;
|
||||
|
||||
public sealed record InstallerDeployProgress(
|
||||
string Stage,
|
||||
string? TargetVersion,
|
||||
double DownloadProgress,
|
||||
double InstallProgress,
|
||||
string? CurrentFile,
|
||||
long BytesDownloaded,
|
||||
long? TotalBytes);
|
||||
10
LanDesktopPLONDS.installer/Models/InstallerStepId.cs
Normal file
10
LanDesktopPLONDS.installer/Models/InstallerStepId.cs
Normal file
@@ -0,0 +1,10 @@
|
||||
namespace LanDesktopPLONDS.Installer.Models;
|
||||
|
||||
public enum InstallerStepId
|
||||
{
|
||||
Welcome = 0,
|
||||
InstallLocation = 1,
|
||||
PrivacyConfirm = 2,
|
||||
Deploy = 3,
|
||||
Complete = 4
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
namespace LanDesktopPLONDS.Installer.Models;
|
||||
|
||||
public sealed record InstallerWorkflowState(
|
||||
InstallerStepId CurrentStep,
|
||||
InstallerStepId MaxUnlockedStep,
|
||||
string InstallPath,
|
||||
bool PrivacyConfirmed,
|
||||
string? TargetVersion,
|
||||
string? ErrorMessage);
|
||||
Reference in New Issue
Block a user