chore:安装阶段免密运行更新程序

This commit is contained in:
2025-08-09 16:45:26 +08:00
parent 85ca5dfb86
commit 52e6888b9d

View File

@@ -545,7 +545,7 @@ void MainWindow::on_pushButton_14_clicked()
appPath = QStandardPaths::findExecutable("spark-update-tool");
QString program = "pkexec";
QStringList arguments;
arguments << appPath << "--silent";
arguments << appPath;
QProcess *process = new QProcess(this);
process->start(program, arguments);
#endif