mirror of
https://github.com/Pixeval/Pixeval.git
synced 2025-01-09 04:09:57 +08:00
修复无法获取更新的问题
This commit is contained in:
parent
7253b2eb42
commit
bf8634d02b
@ -57,8 +57,6 @@ public class Versioning
|
|||||||
foreach (var release in gitHubReleases)
|
foreach (var release in gitHubReleases)
|
||||||
{
|
{
|
||||||
var tag = release.TagName;
|
var tag = release.TagName;
|
||||||
for (var j = tag.Count('.'); j < 3; ++j)
|
|
||||||
tag += ".0";
|
|
||||||
if (SemVersion.TryParse(tag, SemVersionStyles.Strict, out var appVersion))
|
if (SemVersion.TryParse(tag, SemVersionStyles.Strict, out var appVersion))
|
||||||
{
|
{
|
||||||
App.AppViewModel.AppSettings.LastCheckedUpdate = DateTimeOffset.Now;
|
App.AppViewModel.AppSettings.LastCheckedUpdate = DateTimeOffset.Now;
|
||||||
|
Loading…
Reference in New Issue
Block a user