mirror of
https://gitee.com/spark-store-project/spark-store
synced 2025-09-02 17:32:25 +08:00
Merge branch 'master' of gitee.com:deepin-community-store/spark-store into multiple
This commit is contained in:
commit
5a97f6caef
@ -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();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user