From f65e1f4d2f1c31101d441f7d02ef1e2dea0cd4b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=82=A0=E9=9D=99=E8=90=9D=E8=8E=89?= Date: Tue, 30 Mar 2021 15:21:52 +0800 Subject: [PATCH] Package Update to v1.1.1-Beta --- AuroraNative/AuroraNative.csproj | 11 ++++++----- AuroraNative/Utils/Event.cs | 4 ++-- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/AuroraNative/AuroraNative.csproj b/AuroraNative/AuroraNative.csproj index 3fa26e5..7eb92a1 100644 --- a/AuroraNative/AuroraNative.csproj +++ b/AuroraNative/AuroraNative.csproj @@ -15,13 +15,14 @@ false false true - 1.1.0.0329 - 1.1.0.0329 + 1.1.1.0330 + 1.1.1.0330 Icon.png false AuroraNative AuroraNative - 1.1.0-Beta + 1.1.1-Beta + true true @@ -42,12 +43,12 @@ - + - + diff --git a/AuroraNative/Utils/Event.cs b/AuroraNative/Utils/Event.cs index 14c50e2..d20ab21 100644 --- a/AuroraNative/Utils/Event.cs +++ b/AuroraNative/Utils/Event.cs @@ -239,14 +239,14 @@ public void RouterNotify(JObject Json) internal static async void CheckVersion() { Logger.Debug("开始检查 go-cqhttp 版本是否符合最低版本..."); - /*if ((await API.CurrentApi.GetVersionInfo()).TryGetValue("AppVersion", out object Version) && new Version(Version.ToString().Substring(1, Version.ToString().IndexOf('-') - 1)) < WebSocket.DependencyVersion) + if ((await API.CurrentApi.GetVersionInfo()).TryGetValue("AppVersion", out object Version) && new Version(Version.ToString().Substring(1, Version.ToString().IndexOf('-') - 1)) < WebSocket.DependencyVersion) { Logger.Warning($"框架最低依赖版本与 go-cqhttp 不符!请检查是否为最新的框架或符合的 go-cqhttp\ngo-cqhttp版本:{Version}\n框架最低依赖版本:v{WebSocket.DependencyVersion}"); } else { Logger.Debug("go-cqhttp 版本符合最低版本!"); - }*/ + } WebSocket.IsCheckVersion = true; }