Fix: allow for json-files EC2C_conf/cash/device.json as well.
This commit is contained in:
		@@ -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.*$");
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user