From fb0958c496e344f80f7bb46faf4b233b4a083f55 Mon Sep 17 00:00:00 2001 From: pointfeev Date: Thu, 3 Mar 2022 19:06:33 -0500 Subject: [PATCH] Update SelectForm.cs --- CreamInstaller/SelectForm.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/CreamInstaller/SelectForm.cs b/CreamInstaller/SelectForm.cs index 61f24fc..a85fea8 100644 --- a/CreamInstaller/SelectForm.cs +++ b/CreamInstaller/SelectForm.cs @@ -260,7 +260,7 @@ internal partial class SelectForm : CustomForm return; } if (Program.Canceled) return; - /*ConcurrentDictionary dlc = new(); + ConcurrentDictionary dlc = new(); List dlcTasks = new(); List<(string id, string name, string product, string icon, string developer)> dlcIds = await EpicStore.ParseDlcIds(@namespace); if (dlcIds.Count > 0) @@ -292,7 +292,7 @@ internal partial class SelectForm : CustomForm { if (Program.Canceled) return; await task; - }*/ + } selection ??= new(); if (allCheckBox.Checked) selection.Enabled = true; @@ -301,13 +301,13 @@ internal partial class SelectForm : CustomForm selection.Name = name; selection.RootDirectory = directory; selection.DllDirectories = dllDirectories; - /*foreach (KeyValuePair pair in dlc) + foreach (KeyValuePair pair in dlc) if (pair.Value.name == selection.Name) { selection.ProductUrl = "https://www.epicgames.com/store/product/" + pair.Value.product; selection.IconUrl = pair.Value.icon; selection.Publisher = pair.Value.developer; - }*/ + } if (Program.Canceled) return; Program.Invoke(selectionTreeView, delegate