From ae459373dc586550fe49a52091759ca0e3542f61 Mon Sep 17 00:00:00 2001 From: momen Date: Mon, 11 Aug 2025 20:32:58 +0800 Subject: [PATCH] =?UTF-8?q?chore:=E6=B5=8B=E8=AF=95=E4=BD=BF=E7=94=A8sudo?= =?UTF-8?q?=E8=B0=83=E7=94=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/mainwindow-dtk.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/mainwindow-dtk.cpp b/src/mainwindow-dtk.cpp index c2a9063..cedf7ca 100755 --- a/src/mainwindow-dtk.cpp +++ b/src/mainwindow-dtk.cpp @@ -550,7 +550,8 @@ void MainWindow::on_pushButton_14_clicked() // process->start(program, arguments); // #endif appPath = QStandardPaths::findExecutable("spark-update-tool"); - QString program = "pkexec"; + qDebug() << "Spark Update Tool Path: " << appPath; + QString program = "sudo"; QStringList arguments; arguments << appPath; QProcess *process = new QProcess(this);