diff --git a/UpdatePTUDevCtrl/update.cpp b/UpdatePTUDevCtrl/update.cpp index 5ae710d..bcda1f7 100644 --- a/UpdatePTUDevCtrl/update.cpp +++ b/UpdatePTUDevCtrl/update.cpp @@ -525,14 +525,18 @@ bool Update::updatePrinterTemplate(int templateIdx, QString jsFile) const { } bool Update::updateConfig(QString jsFile) { + // IMPORTANT: the JSON-file has a 'title'-line: the value MUST be 'DC2C_config' return downloadJson(FileTypeJson::CONFIG, 0, jsFile); } bool Update::updateCashConf(QString jsFile) { + // IMPORTANT: the JSON-file has a 'title'-line: the value MUST be 'DC2C_cash ' + // Note the twp spaces after DC2C_cash !! return downloadJson(FileTypeJson::CASH, 0, jsFile); } bool Update::updateDeviceConf(QString jsFile) { + // IMPORTANT: the JSON-file has a 'title'-line: the value MUST be 'DC2C_device' return downloadJson(FileTypeJson::DEVICE, 0, jsFile); }