From 97601282b8149ad53af776089acc866aeeb45712 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luis=20=C3=81ngel=20San=20Mart=C3=ADn?= Date: Tue, 24 Dec 2024 10:44:34 +0100 Subject: [PATCH] Call LibrariesUpdateCoordinator::init in YACReaderLibraryServer --- CHANGELOG.md | 1 + YACReaderLibraryServer/main.cpp | 2 ++ 2 files changed, 3 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 97214fd2..25ee8dfd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -25,6 +25,7 @@ Version counting is based on semantic versioning (Major.Feature.Patch) ### YACReaderLibraryServer * New command --system-info to print information about the execution environment and available resources (including what image formats are supported and what libraries are used by the app). +* Fix automatic libraries updates not being triggered. ### All apps * Sorting heuristic to try to find spreads in the content of a comic is now only used for files with less than 1000 pages to avoid false positives. diff --git a/YACReaderLibraryServer/main.cpp b/YACReaderLibraryServer/main.cpp index dd087cf8..b6597143 100644 --- a/YACReaderLibraryServer/main.cpp +++ b/YACReaderLibraryServer/main.cpp @@ -245,6 +245,8 @@ int start(QCoreApplication &app, QCommandLineParser &parser, const QStringList & QLOG_INFO() << "Done updating libraries"; }); + librariesUpdateCoordinator->init(); + int ret = app.exec(); QLOG_INFO() << "YACReaderLibrary closed with exit code :" << ret;