Skip to content
This repository has been archived by the owner on Dec 6, 2023. It is now read-only.

Commit

Permalink
Package Update to v1.1.1-Beta
Browse files Browse the repository at this point in the history
Package Update to v1.1.1-Beta
  • Loading branch information
timi137137 authored Mar 30, 2021
2 parents 8c636fa + f65e1f4 commit 82bd0f4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
11 changes: 6 additions & 5 deletions AuroraNative/AuroraNative.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,14 @@
<SignAssembly>false</SignAssembly>
<DelaySign>false</DelaySign>
<EnableNETAnalyzers>true</EnableNETAnalyzers>
<AssemblyVersion>1.1.0.0329</AssemblyVersion>
<FileVersion>1.1.0.0329</FileVersion>
<AssemblyVersion>1.1.1.0330</AssemblyVersion>
<FileVersion>1.1.1.0330</FileVersion>
<PackageIcon>Icon.png</PackageIcon>
<EnforceCodeStyleInBuild>false</EnforceCodeStyleInBuild>
<AssemblyName>AuroraNative</AssemblyName>
<RootNamespace>AuroraNative</RootNamespace>
<Version>1.1.0-Beta</Version>
<Version>1.1.1-Beta</Version>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
</PropertyGroup>

Expand All @@ -42,12 +43,12 @@

<ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.0'">
<PackageReference Include="Microsoft.Extensions.Caching.Memory" Version="5.0.0" />
<PackageReference Include="Newtonsoft.Json" Version="12.*" />
<PackageReference Include="Newtonsoft.Json" Version="(12.*,)" />
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'net5.0'">
<PackageReference Include="Microsoft.Extensions.Caching.Memory" Version="5.0.0" />
<PackageReference Include="Newtonsoft.Json" Version="12.0.3" />
<PackageReference Include="Newtonsoft.Json" Version="(12.*,)" />
</ItemGroup>

</Project>
4 changes: 2 additions & 2 deletions AuroraNative/Utils/Event.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 82bd0f4

Please sign in to comment.