diff options
Diffstat (limited to 'installer/mainwindow.cpp')
| -rw-r--r-- | installer/mainwindow.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/installer/mainwindow.cpp b/installer/mainwindow.cpp index b02c45f..1e9b207 100644 --- a/installer/mainwindow.cpp +++ b/installer/mainwindow.cpp @@ -206,7 +206,9 @@ void MainWindow::on_installButton_clicked() QStringList psArgs; psArgs.append("-FilePath \"" + QApplication::applicationFilePath() + "\""); psArgs.append("-ArgumentList (" + args.join(",") + ")"); - psArgs.append("-Verb runAs"); + if (ui->installEveryone->isChecked()) { + psArgs.append("-Verb runAs"); + } psArgs.append("-PassThru"); psArgs.append("-Wait"); |
