version.h 986 B

12345678910111213141516171819202122232425262728
  1. /*
  2. This file is part of Telegram Desktop,
  3. the official desktop application for the Telegram messaging service.
  4. For license and copyright information please follow this link:
  5. https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
  6. */
  7. #pragma once
  8. #include "base/const_string.h"
  9. #define TDESKTOP_REQUESTED_ALPHA_VERSION (0ULL)
  10. #ifdef TDESKTOP_ALLOW_CLOSED_ALPHA
  11. #define TDESKTOP_ALPHA_VERSION TDESKTOP_REQUESTED_ALPHA_VERSION
  12. #else // TDESKTOP_ALLOW_CLOSED_ALPHA
  13. #define TDESKTOP_ALPHA_VERSION (0ULL)
  14. #endif // TDESKTOP_ALLOW_CLOSED_ALPHA
  15. // used in Updater.cpp and Setup.iss for Windows
  16. constexpr auto AppId = "{53F49750-6209-4FBF-9CA8-7A333C87D1ED}"_cs;
  17. constexpr auto AppNameOld = "Telegram Win (Unofficial)"_cs;
  18. constexpr auto AppName = "Telegram Desktop"_cs;
  19. constexpr auto AppFile = "Telegram"_cs;
  20. constexpr auto AppVersion = 5012006;
  21. constexpr auto AppVersionStr = "5.12.6";
  22. constexpr auto AppBetaVersion = true;
  23. constexpr auto AppAlphaVersion = TDESKTOP_ALPHA_VERSION;