diff options
| author | Victor Tran <vicr12345@gmail.com> | 2018-12-05 09:35:24 +1100 |
|---|---|---|
| committer | Victor Tran <vicr12345@gmail.com> | 2018-12-05 09:35:24 +1100 |
| commit | e24ba952ce2af873b0a502a84cc657ccfa6fa778 (patch) | |
| tree | d9e74bccb75e1d8379ceeb4388c050cba1a29250 /installer | |
| parent | 934f6594aaa955631e9364e112a6683d8576b66c (diff) | |
| download | theInstaller-e24ba952ce2af873b0a502a84cc657ccfa6fa778.tar.gz theInstaller-e24ba952ce2af873b0a502a84cc657ccfa6fa778.tar.bz2 theInstaller-e24ba952ce2af873b0a502a84cc657ccfa6fa778.zip | |
Fix a bug where updating would detect installer
Diffstat (limited to 'installer')
| -rw-r--r-- | installer/mainwindow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/installer/mainwindow.cpp b/installer/mainwindow.cpp index e66e273..8acd8eb 100644 --- a/installer/mainwindow.cpp +++ b/installer/mainwindow.cpp @@ -214,7 +214,7 @@ void MainWindow::on_installButton_clicked() while (iterator.hasNext()) { iterator.next(); QFileInfo executable = iterator.fileInfo(); - if (executable.suffix() == "exe") { + if (executable.suffix() == "exe" && executable.baseName() != "uninstall") { executableNames.append(executable.filePath()); } } |
