fix(cpn): download updates to correct release folder (#7267)
This commit is contained in:
@@ -738,13 +738,6 @@ int UpdateInterface::preparation()
|
|||||||
m_status->setValue(cnt);
|
m_status->setValue(cnt);
|
||||||
m_status->setMaximum(5);
|
m_status->setMaximum(5);
|
||||||
|
|
||||||
if (!setRunFolders()) {
|
|
||||||
m_status->reportProgress(tr("Set run folders failed"), QtDebugMsg);
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
m_status->setValue(++cnt);
|
|
||||||
|
|
||||||
if (!m_repo->releases()->retrieveMetaDataAll()) {
|
if (!m_repo->releases()->retrieveMetaDataAll()) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
@@ -758,6 +751,13 @@ int UpdateInterface::preparation()
|
|||||||
|
|
||||||
m_status->setValue(++cnt);
|
m_status->setValue(++cnt);
|
||||||
|
|
||||||
|
if (!setRunFolders()) {
|
||||||
|
m_status->reportProgress(tr("Set run folders failed"), QtDebugMsg);
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
m_status->setValue(++cnt);
|
||||||
|
|
||||||
if (!m_repo->assets()->retrieveMetaDataAll())
|
if (!m_repo->assets()->retrieveMetaDataAll())
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user