Handle "-patch" as the suffix for game update folders (#2674)

* Handle "-patch" as the suffix for game update folders

* clang

* clang 2
This commit is contained in:
kalaposfos13 2025-03-23 22:24:49 +01:00 committed by GitHub
parent 6f944ab117
commit 99332e4ec2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 39 additions and 9 deletions

View file

@ -20,7 +20,7 @@ void ScanDirectoryRecursively(const QString& dir, QStringList& filePaths, int cu
QFileInfoList entries = directory.entryInfoList(QDir::Dirs | QDir::NoDotAndDotDot);
for (const auto& entry : entries) {
if (entry.fileName().endsWith("-UPDATE")) {
if (entry.fileName().endsWith("-UPDATE") || entry.fileName().endsWith("-patch")) {
continue;
}