mirror of
https://gitee.com/spark-store-project/spark-store
synced 2025-12-14 21:02:04 +08:00
chore:安装阶段免密运行更新程序
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user