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:
@@ -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"];
|
||||
|
||||
Reference in New Issue
Block a user