Gui: Add about image for dev version

Co-authored-by: ein-shved <yury.shvedov@kaspersky.com>
Co-authored-by: Ladislav Michl <ladis@triops.cz>
Co-authored-by: qewer33 <qewer33@proton.me>
Co-authored-by: 3x380V <i58604845+3x380V@users.noreply.github.com>
This commit is contained in:
qewer33
2024-10-04 16:14:49 +03:00
committed by Chris Hennes
parent 3918d7ffae
commit 164ecfebac
6 changed files with 17 additions and 2 deletions

View File

@@ -1132,6 +1132,14 @@ std::string Application::getNameWithVersion()
return fmt::format("{} {}.{}.{}{}", appname, major, minor, point, suffix);
}
bool Application::isDevelopmentVersion()
{
static std::string suffix = []() constexpr {
return FCVersionSuffix;
}();
return suffix == "dev";
}
std::string Application::getTempPath()
{
return mConfig["AppTempPath"];