Merge branch 'master' of gitee.com:deepin-community-store/spark-store into multiple

This commit is contained in:
忘记、过去 2021-06-13 14:36:05 +08:00 committed by Gitee
commit 5a97f6caef

View File

@ -1093,7 +1093,7 @@ void Widget::on_pushButton_updateApt_clicked()
system(("chmod +x " + tmpPath + "/update.sh").c_str());
QProcess runupdate;
runupdate.start(QString::fromStdString("pkexec " + tmpPath + "/update.sh"));
runupdate.start(QString::fromStdString("pkexec " + tmpPath + "/update.sh"), QStringList());
runupdate.waitForFinished();
QString error = runupdate.readAllStandardError();