From 00377956638a86492c930d40427a8f19f34b3e8d Mon Sep 17 00:00:00 2001 From: falkTX Date: Mon, 31 Jan 2022 13:30:20 +0000 Subject: [PATCH] Tag our own custom version Signed-off-by: falkTX --- README.md | 2 -- src/CardinalCommon.cpp | 2 ++ src/CardinalCommon.hpp | 2 ++ src/override/MenuBar.cpp | 3 +-- 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 4554c94..5884bea 100644 --- a/README.md +++ b/README.md @@ -15,8 +15,6 @@ It does not load external modules and does not connect to the official Rack libr Because it is using DPF, Cardinal already supports LV2 and VST2 with an extra JACK standalone mode if self-compiled. A VST3 version is in progress, already part of the build but still experimental. -**The project should be considered in beta state at the moment.** - ## Plugin variants Cardinal provides 3 plugin variants - "main", Synth and FX. diff --git a/src/CardinalCommon.cpp b/src/CardinalCommon.cpp index e36d47a..6aee003 100644 --- a/src/CardinalCommon.cpp +++ b/src/CardinalCommon.cpp @@ -49,6 +49,8 @@ # include #endif +const std::string CARDINAL_VERSION = "22.02"; + namespace rack { namespace settings { int rateLimit = 0; diff --git a/src/CardinalCommon.hpp b/src/CardinalCommon.hpp index 871bcee..f08477a 100644 --- a/src/CardinalCommon.hpp +++ b/src/CardinalCommon.hpp @@ -25,6 +25,8 @@ # define REMOTE_HOST_PORT "2228" #endif +extern const std::string CARDINAL_VERSION; + namespace rack { namespace settings { diff --git a/src/override/MenuBar.cpp b/src/override/MenuBar.cpp index 427d627..6c9484d 100644 --- a/src/override/MenuBar.cpp +++ b/src/override/MenuBar.cpp @@ -535,8 +535,7 @@ struct HelpButton : MenuButton { menu->addChild(new ui::MenuSeparator); - menu->addChild(createMenuLabel(APP_EDITION + " " + APP_EDITION_NAME)); - + menu->addChild(createMenuLabel("Cardinal " + APP_EDITION + " " + CARDINAL_VERSION)); menu->addChild(createMenuLabel("Rack " + APP_VERSION + " Compatible")); } };