Skip to content

Commit

Permalink
Just concat strings for dictionary keys.
Browse files Browse the repository at this point in the history
  • Loading branch information
Aetopia committed Jul 13, 2024
1 parent 356fe7f commit 1177a58
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/BedrockUpdater.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<ApplicationManifest>Resources/.manifest</ApplicationManifest>
<ApplicationIcon>Resources/.ico</ApplicationIcon>

<AssemblyVersion>1.1.7.2</AssemblyVersion>
<AssemblyVersion>1.1.7.3</AssemblyVersion>
<AssemblyTitle>Bedrock Updater</AssemblyTitle>
<Product>Bedrock Updater</Product>
<Copyright>Copyright (C) 2024</Copyright>
Expand Down
2 changes: 1 addition & 1 deletion src/Store.cs
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ internal static IList<UpdateIdentity> GetUpdates(Product product)
_ => ProcessorArchitecture.Unknown
};

var key = $"{identity[0]}_{identity[2]}";
var key = identity[0] + identity[2];
if (!dictionary.ContainsKey(key)) dictionary.Add(key, new()
{
Architecture = architecture,
Expand Down

0 comments on commit 1177a58

Please sign in to comment.