diff --git a/CMakeLists.txt b/CMakeLists.txt index 7585be01..76c4a690 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -32,7 +32,7 @@ find_package(uriparser REQUIRED) find_package(tomlplusplus REQUIRED) find_package(nlohmann_json REQUIRED) -set(SYNCSPIRIT_VERSION "v0.3.1") +set(SYNCSPIRIT_VERSION "v0.3.2") configure_file(misc/syncspirit-config.h.in include/syncspirit-config.h @ONLY) set(Protobuf_IMPORT_DIRS ${syncspirit_SOURCE_DIR}/src/protobuf) diff --git a/README.md b/README.md index 2baec39b..6403e36d 100644 --- a/README.md +++ b/README.md @@ -116,6 +116,9 @@ after the core completion. # changes +## 0.3.2 (11-May-2024) +- [bugfix] folder scan isn't triggered on startup + ## 0.3.1 (23-Apr-2024) - [feature] added `syncspirit` binary fow windows xp - [build, docs] improved build documentation diff --git a/src/constants.cpp b/src/constants.cpp index aeaa6f76..2047421f 100644 --- a/src/constants.cpp +++ b/src/constants.cpp @@ -2,11 +2,14 @@ // SPDX-FileCopyrightText: 2019-2022 Ivan Baidakou #include "constants.h" +#include "syncspirit-config.h" namespace syncspirit::constants { + const char *client_name = "syncspirit"; const char *issuer_name = "syncthing"; const char *protocol_name = "bep/1.0"; const char *relay_protocol_name = "bep-relay"; -const char *client_version = "v0.01"; +const char *client_version = SYNCSPIRIT_VERSION; + } // namespace syncspirit::constants diff --git a/src/ui-daemon/governor_actor.cpp b/src/ui-daemon/governor_actor.cpp index 26824e0e..1e2aeaa6 100644 --- a/src/ui-daemon/governor_actor.cpp +++ b/src/ui-daemon/governor_actor.cpp @@ -32,7 +32,7 @@ void governor_actor_t::configure(r::plugin::plugin_base_t &plugin) noexcept { plugin->subscribe_actor(&governor_actor_t::on_scan_completed, coordinator); } }); - p.discover_name(net::names::fs_scanner, fs_scanner, true).link(false); + p.discover_name(net::names::fs_scanner, fs_scanner, true).link(true); }); } diff --git a/tests/060-bep.cpp b/tests/060-bep.cpp index 0b0f8f61..cf95ff2b 100644 --- a/tests/060-bep.cpp +++ b/tests/060-bep.cpp @@ -6,6 +6,7 @@ #include "model/device_id.h" #include "utils/error_code.h" #include "utils/uri.h" +#include "syncspirit-config.h" using namespace syncspirit; using namespace syncspirit::test; @@ -77,7 +78,7 @@ TEST_CASE("hello", "[bep]") { auto &msg = std::get(v.message); CHECK(msg->device_name() == "test-device"); CHECK(msg->client_name() == "syncspirit"); - CHECK(msg->client_version() == "v0.3.0"); + CHECK(msg->client_version() == SYNCSPIRIT_VERSION); } }