mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-15 14:16:07 -06:00
umk: Fixed UppHub problem
This commit is contained in:
parent
d6c2c3e9d3
commit
5f0a3b9e42
1 changed files with 4 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue