update:已调用更新器

This commit is contained in:
2025-08-12 21:17:21 +08:00
parent c5a6125fd6
commit 42f7b44945

View File

@@ -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);