Skip to content

Commit

Permalink
Improve Microsoft Store Endpoint Interactability.
Browse files Browse the repository at this point in the history
  • Loading branch information
Aetopia committed Jun 7, 2024
1 parent 3da34bd commit 7e3e26b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 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.0.0.0</AssemblyVersion>
<AssemblyVersion>1.0.1.0</AssemblyVersion>
<AssemblyTitle>Bedrock Updater</AssemblyTitle>
<Product>Bedrock Updater</Product>
<Copyright>Copyright (C) 2024</Copyright>
Expand Down
2 changes: 1 addition & 1 deletion src/MainForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ internal MainForm(IEnumerable<string> args)
label2.Text = "Checking...";
progressBar.Style = ProgressBarStyle.Marquee;

var updateIds = await store.SyncUpdates(product);
var updateIds = await store.SyncUpdatesAsync(product);
if (!updateIds.Any()) continue;

var count = updateIds.Count();
Expand Down
4 changes: 2 additions & 2 deletions src/Store.cs
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ internal async Task<IEnumerable<IProduct>> GetProductsAsync(params string[] prod
payload.TryGetValue("ShortTitle", out object value);

products.Add(
new Product((string)(value ?? payload["Title"]),
new Product((string)(string.IsNullOrEmpty((string)value) ? payload["Title"] : value),
javaScriptSerializer.Deserialize<Dictionary<string, string>>(
(string)((Dictionary<string, object>)((ArrayList)payload["Skus"])[0])["FulfillmentData"])["WuCategoryId"]));
}
Expand Down Expand Up @@ -156,7 +156,7 @@ static bool CheckUpdateAvailability(string packageFullName)
new Version(packageIdentity[1]) > new Version(package.Id.Version.Major, package.Id.Version.Minor, package.Id.Version.Build, package.Id.Version.Revision));
}

internal async Task<IEnumerable<string>> SyncUpdates(IProduct product)
internal async Task<IEnumerable<string>> SyncUpdatesAsync(IProduct product)
{
await default(SynchronizationContextRemover);

Expand Down

0 comments on commit 7e3e26b

Please sign in to comment.