Skip to content

Commit

Permalink
bugfix 优化 6.0.4.4 兼容性
Browse files Browse the repository at this point in the history
  • Loading branch information
chr233 committed Jun 30, 2024
1 parent e9fca39 commit 72d68c6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions ASFEnhance/ASFEnhance.cs
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ public Task OnASFInit(IReadOnlyDictionary<string, JsonElement>? additionalConfig
{
try
{
config = configValue.Deserialize<PluginConfig>();
config = JsonSerializer.Deserialize<PluginConfig>(configValue);
if (config != null)
{
break;
Expand Down Expand Up @@ -134,8 +134,8 @@ public Task OnASFInit(IReadOnlyDictionary<string, JsonElement>? additionalConfig
var request = new Uri("https://asfe.chrxw.com/asfenhace");
if (_Adapter_.ExtensionCore.HasSubModule)
{
List<string>? names = ["asfenhance"];
foreach (var subModules in _Adapter_.ExtensionCore.SubModules.Keys)
List<string> names = ["asfenhance"];
foreach (var (subModules, _) in _Adapter_.ExtensionCore.SubModules)
{
names.Add(subModules.ToLowerInvariant());
}
Expand Down
2 changes: 1 addition & 1 deletion Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project>
<PropertyGroup>
<Version>2.1.10.0</Version>
<Version>2.1.10.1</Version>
</PropertyGroup>

<PropertyGroup>
Expand Down

0 comments on commit 72d68c6

Please sign in to comment.