diff --git a/Telegram/CMakeLists.txt b/Telegram/CMakeLists.txt index 197aa02ca..d6cdf7edb 100644 --- a/Telegram/CMakeLists.txt +++ b/Telegram/CMakeLists.txt @@ -329,6 +329,7 @@ PRIVATE core/utils.cpp core/utils.h core/version.h + kotato/version.h data/data_abstract_structure.cpp data/data_abstract_structure.h data/data_auto_download.cpp diff --git a/Telegram/SourceFiles/core/version.h b/Telegram/SourceFiles/core/version.h index f4b55ac9a..073a99dc5 100644 --- a/Telegram/SourceFiles/core/version.h +++ b/Telegram/SourceFiles/core/version.h @@ -8,6 +8,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL #pragma once #include "base/const_string.h" +#include "kotato/version.h" #define TDESKTOP_REQUESTED_ALPHA_VERSION (0ULL) @@ -26,5 +27,3 @@ constexpr auto AppVersion = 2001000; constexpr auto AppVersionStr = "2.1"; constexpr auto AppBetaVersion = false; constexpr auto AppAlphaVersion = TDESKTOP_ALPHA_VERSION; -constexpr auto AppKotatoVersion = 1002002; -constexpr auto AppKotatoVersionStr = "1.2.2"; diff --git a/Telegram/SourceFiles/kotato/version.h b/Telegram/SourceFiles/kotato/version.h new file mode 100644 index 000000000..abae520df --- /dev/null +++ b/Telegram/SourceFiles/kotato/version.h @@ -0,0 +1,11 @@ +/* +This file is part of Kotatogram Desktop, +the unofficial app based on Telegram Desktop. + +For license and copyright information please follow this link: +https://github.com/kotatogram/kotatogram-desktop/blob/dev/LEGAL +*/ +#pragma once + +constexpr auto AppKotatoVersion = 1002002; +constexpr auto AppKotatoVersionStr = "1.2.2";