umk: Fixed UppHub problem

This commit is contained in:
Mirek Fidler 2023-11-30 10:08:35 +01:00
parent d6c2c3e9d3
commit 5f0a3b9e42

View file

@ -48,6 +48,8 @@ Value UppHubDlg::LoadJson(const String& url)
#endif
}
LOG(s);
Value v = ParseJSON(s);
if(v.IsError()) {
s.Replace(""", "\"");
@ -180,8 +182,8 @@ bool UppHubAuto(const String& main)
for(const String& p : n.packages)
if(missing.Find(p) >= 0)
found.FindAdd(n.name);
if(found.GetCount() == missing.GetCount() && missing != pmissing) {
if(missing != pmissing) {
dlg.Install(found);
pmissing = clone(missing);
continue;