improve:自动更新
This commit is contained in:
@@ -188,6 +188,15 @@ namespace Ink_Canvas
|
||||
Beta
|
||||
}
|
||||
|
||||
/// <summary>自动更新要下载的安装包架构(与当前运行进程的位数无关)。默认 32 位包;64 位包对应发布物 ZIP 文件名在 .zip 前增加 -x64。</summary>
|
||||
public enum UpdatePackageArchitecture
|
||||
{
|
||||
/// <summary>32 位包,例如 InkCanvasForClass.CE.1.7.0.0.zip</summary>
|
||||
X86 = 0,
|
||||
/// <summary>64 位包,例如 InkCanvasForClass.CE.1.7.0.0-x64.zip</summary>
|
||||
X64 = 1
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 遥测上传等级
|
||||
/// </summary>
|
||||
@@ -219,6 +228,8 @@ namespace Ink_Canvas
|
||||
public string AutoUpdateWithSilenceEndTime { get; set; } = "22:00";
|
||||
[JsonProperty("updateChannel")]
|
||||
public UpdateChannel UpdateChannel { get; set; } = UpdateChannel.Release;
|
||||
[JsonProperty("updatePackageArchitecture")]
|
||||
public UpdatePackageArchitecture UpdatePackageArchitecture { get; set; } = UpdatePackageArchitecture.X86;
|
||||
[JsonProperty("skippedVersion")]
|
||||
public string SkippedVersion { get; set; } = "";
|
||||
[JsonProperty("autoUpdatePauseUntilDate")]
|
||||
|
||||
Reference in New Issue
Block a user