Fix: allow for json-files EC2C_conf/cash/device.json as well.

This commit is contained in:
Gerhard Hoffmann 2023-10-06 10:43:55 +02:00
parent 2164037123
commit 7ff866525e

View File

@ -833,7 +833,10 @@ bool Worker::updateFiles(quint8 percent) {
}
}
} else
if (fName.contains("print", Qt::CaseInsensitive)) {
if (fName.contains("DC2C_print", Qt::CaseInsensitive) ||
fName.contains("DC2C_device", Qt::CaseInsensitive) ||
fName.contains("DC2C_conf", Qt::CaseInsensitive) ||
fName.contains("DC2C_cash", Qt::CaseInsensitive)) {
filesToDownload << fName; // download printer-config-files
} else {
static const QRegularExpression version("^.*dc2c[.][0-9]{1,2}[.][0-9]{1,2}[.]bin.*$");