Check if it has to be possible to update hardware (JSONs, DC). If yes, then exit().

This commit is contained in:
Gerhard Hoffmann 2024-05-03 13:31:04 +02:00
parent e5ab9b98cd
commit 63dc70dda9

View File

@ -130,7 +130,9 @@ int main(int argc, char *argv[]) {
if (!QDir(plugInDir).exists()) {
qCritical() << plugInDir
<< "does not exists, but has to contain dc-library";
exit(-1);
if (noUpdatePsaHardware == false) {
exit(-1);
}
}
// before loading the library, delete all possible shared memory segments