Skip to content

Commit

Permalink
设置自动更新时的版本号格式
Browse files Browse the repository at this point in the history
  • Loading branch information
JiuLing-zhang committed Sep 11, 2024
1 parent 44e5473 commit 326b785
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/UpdateHelper.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
using JiuLing.AutoUpgrade.Shared;
using JiuLing.AutoUpgrade.Shell;
using System.IO;
using JiuLing.AutoUpgrade.Shell.Enums;

namespace ComputerLock;
internal class UpdateHelper(AppSettings appSettings)
Expand Down Expand Up @@ -33,6 +34,7 @@ await AutoUpgradeFactory.Create()
config.IsCheckSign = true;
config.Lang = appSettings.Lang.ToString();
config.IconPath = iconPath;
config.VersionFormat = VersionFormatEnum.MajorMinorBuild;
})
.RunAsync();
}
Expand Down

0 comments on commit 326b785

Please sign in to comment.