Add debug logs about installer in service

This commit is contained in:
aiamnezia 2024-12-04 15:38:55 +04:00
parent 12587b44cf
commit 42e4768483

View file

@ -439,6 +439,8 @@ int IpcServer::installApp(const QString &path)
qDebug() << "Launching installer..."; qDebug() << "Launching installer...";
process.start("sudo", QStringList() << execPath); process.start("sudo", QStringList() << execPath);
process.waitForFinished(); process.waitForFinished();
qDebug() << "Installer stdout:" << process.readAllStandardOutput();
qDebug() << "Installer stderr:" << process.readAllStandardError();
qDebug() << "Installer finished with exit code:" << process.exitCode(); qDebug() << "Installer finished with exit code:" << process.exitCode();
return process.exitCode(); return process.exitCode();
} }