Add logs from installattion shell on Windows

This commit is contained in:
aiamnezia 2024-12-11 18:34:16 +04:00
parent a73234ec2a
commit bac71ed3e7

View file

@ -393,6 +393,8 @@ int IpcServer::installApp(const QString &path)
QStringList() << "Start-Process" << path << "-Verb" QStringList() << "Start-Process" << path << "-Verb"
<< "RunAs" << "RunAs"
<< "-Wait"); << "-Wait");
logger.info() << "Installer stdout:" << process.readAllStandardOutput();
logger.info() << "Installer stderr:" << process.readAllStandardError();
process.waitForFinished(); process.waitForFinished();
if (process.exitCode() != 0) { if (process.exitCode() != 0) {