Tag our own custom version

Signed-off-by: falkTX <falktx@falktx.com>
This commit is contained in:
falkTX 2022-01-31 13:30:20 +00:00
parent 457b7530e9
commit 0037795663
No known key found for this signature in database
GPG key ID: CDBAA37ABC74FBA0
4 changed files with 5 additions and 4 deletions

View file

@ -49,6 +49,8 @@
# include <unistd.h>
#endif
const std::string CARDINAL_VERSION = "22.02";
namespace rack {
namespace settings {
int rateLimit = 0;

View file

@ -25,6 +25,8 @@
# define REMOTE_HOST_PORT "2228"
#endif
extern const std::string CARDINAL_VERSION;
namespace rack {
namespace settings {

View file

@ -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"));
}
};