From 2526fe3ca824d231e278fc0ec30ec36c2ba82327 Mon Sep 17 00:00:00 2001 From: EndrII Date: Sun, 22 Mar 2020 11:52:08 +0300 Subject: [PATCH] added version name --- Deploy/deploycore.cpp | 6 +++++- Deploy/deploycore.h | 2 ++ doc/wiki | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/Deploy/deploycore.cpp b/Deploy/deploycore.cpp index 0b0d74f..c029aee 100644 --- a/Deploy/deploycore.cpp +++ b/Deploy/deploycore.cpp @@ -326,6 +326,10 @@ QString DeployCore::getAppVersion() { return APP_VERSION; } +QString DeployCore::getAppVersionName() { + return "\"Binary Box\""; +} + QString DeployCore::getQtVersion() { #ifdef QT_VERSION_STR return QT_VERSION_STR; @@ -335,7 +339,7 @@ QString DeployCore::getQtVersion() { } void DeployCore::printVersion() { - qInfo() << "CQtDeployer: " + getAppVersion(); + qInfo() << "CQtDeployer: " + getAppVersion() + " " + getAppVersionName(); qInfo() << "Qt: " + getQtVersion(); } diff --git a/Deploy/deploycore.h b/Deploy/deploycore.h index aa73384..1682b3d 100644 --- a/Deploy/deploycore.h +++ b/Deploy/deploycore.h @@ -166,6 +166,8 @@ public: static QStringList extractTranslation(const QSet &libs); static QString getAppVersion(); + static QString getAppVersionName(); + static QString getQtVersion(); static void printVersion(); static int find(const QString &str, const QStringList &list); diff --git a/doc/wiki b/doc/wiki index 83a7632..a03b0d9 160000 --- a/doc/wiki +++ b/doc/wiki @@ -1 +1 @@ -Subproject commit 83a76325218b29b9ede74baf322b0aa87bffab74 +Subproject commit a03b0d9b7607b7b5a4fdf0d2af3dc90a704dfccc