mirror of
https://gitee.com/spark-store-project/spark-store
synced 2025-12-14 04:42:03 +08:00
update:已调用更新器
This commit is contained in:
@@ -551,7 +551,7 @@ void MainWindow::on_pushButton_14_clicked()
|
||||
// #endif
|
||||
appPath = QStandardPaths::findExecutable("spark-update-tool");
|
||||
qDebug() << "Spark Update Tool Path: " << appPath;
|
||||
QString program = "sudo";
|
||||
QString program = "pkexec";
|
||||
QStringList arguments;
|
||||
arguments << appPath;
|
||||
QProcess *process = new QProcess(this);
|
||||
|
||||
Reference in New Issue
Block a user