Skip to content

Commit

Permalink
移除对临时版本号的更新检测的特殊处理
Browse files Browse the repository at this point in the history
  • Loading branch information
ywmoyue committed May 10, 2024
1 parent 82a055d commit 5390333
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/BiliLite.UWP/Extensions/BiliExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -108,14 +108,7 @@ public static async Task CheckVersion()
var ver = JsonConvert.DeserializeObject<NewVersionResponse>(result.results);
var ignoreVersion = SettingService.GetValue(SettingConstants.Other.IGNORE_VERSION, "");
if (ignoreVersion.Equals(ver.Version)) return;
// 获取临时版本号
var revision = SystemInformation.ApplicationVersion.Revision;
var v = int.Parse(num);
// 存在临时版本号时,正式版本号减一
if (revision > 0)
{
v--;
}
if (ver.VersionNum > v)
{
var dialog = new ContentDialog();
Expand Down

0 comments on commit 5390333

Please sign in to comment.