From 5041fd7dfbfe7dd91236d46c58b8c7d7fd5f9743 Mon Sep 17 00:00:00 2001 From: falkTX Date: Mon, 10 Oct 2022 22:07:12 +0100 Subject: [PATCH] Tweak log welcome message, mention both cardinal and rack version Signed-off-by: falkTX --- src/CardinalPlugin.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/CardinalPlugin.cpp b/src/CardinalPlugin.cpp index 5b48ddf..60ea758 100644 --- a/src/CardinalPlugin.cpp +++ b/src/CardinalPlugin.cpp @@ -73,6 +73,8 @@ static const constexpr uint kCardinalStateCount = kCardinalStateBaseCount + 2; / static const constexpr uint kCardinalStateCount = kCardinalStateBaseCount; #endif +extern const std::string CARDINAL_VERSION; + namespace rack { namespace asset { std::string patchesPath(); @@ -253,7 +255,7 @@ struct Initializer factoryTemplatePath = system::join(patchesPath, CARDINAL_TEMPLATE_NAME); // Log environment - INFO("%s %s v%s", APP_NAME.c_str(), APP_EDITION.c_str(), APP_VERSION.c_str()); + INFO("%s %s %s, compatible with Rack v%s", APP_NAME.c_str(), APP_EDITION.c_str(), CARDINAL_VERSION.c_str(), APP_VERSION.c_str()); INFO("%s", system::getOperatingSystemInfo().c_str()); INFO("Binary filename: %s", getBinaryFilename()); INFO("Bundle path: %s", plugin->getBundlePath());