save for weekend

This commit is contained in:
2025-01-10 14:19:43 +01:00
parent 8f822c5383
commit f1aad81a0c
4 changed files with 53 additions and 10 deletions

View File

@@ -1514,6 +1514,14 @@ PSAInstalled Worker::getPSAInstalled() {
return psaInstalled;
}
void Worker::readyReadStandardOutput() {
QProcess *p = (QProcess *)sender();
m_standardOutput = p->readAllStandardOutput();
qCritical() << "ZZZZ" << m_standardOutput;
}
bool Worker::jsUpdate() {
return m_dcDownloadJsonFiles->start("/opt/app/tools/atbupdate");
}
@@ -1527,8 +1535,8 @@ void Worker::summary() {
QString summary, first, second, line, tmp;
QVector<QPair<QString, QString>> vec = Utils::installedPackages();
vec.append(Utils::installedTariffFiles(m_customerRepository));
vec.append(Utils::installedJsonFiles(m_customerRepository));
vec.append(Utils::installedTariffFiles(this, m_customerRepository));
vec.append(Utils::installedJsonFiles(this, m_customerRepository));
int max_first = 0, max_second = 0;
for (int i = 0; i < vec.size(); ++i) {