修复无法获取更新的问题

This commit is contained in:
Summpot 2024-09-24 22:26:59 +08:00 committed by Poker
parent 7253b2eb42
commit bf8634d02b
No known key found for this signature in database
GPG Key ID: C65A6AD457D5C8F8

View File

@ -57,8 +57,6 @@ public class Versioning
foreach (var release in gitHubReleases)
{
var tag = release.TagName;
for (var j = tag.Count('.'); j < 3; ++j)
tag += ".0";
if (SemVersion.TryParse(tag, SemVersionStyles.Strict, out var appVersion))
{
App.AppViewModel.AppSettings.LastCheckedUpdate = DateTimeOffset.Now;