2016-04-27 12:03:10 +00:00
|
|
|
/*
|
|
|
|
This file is part of Telegram Desktop,
|
2018-01-03 10:23:14 +00:00
|
|
|
the official desktop application for the Telegram messaging service.
|
2016-04-27 12:03:10 +00:00
|
|
|
|
2018-01-03 10:23:14 +00:00
|
|
|
For license and copyright information please follow this link:
|
|
|
|
https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
2016-04-27 12:03:10 +00:00
|
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
|
2020-01-29 09:44:37 +00:00
|
|
|
#include "base/const_string.h"
|
|
|
|
|
2022-07-26 17:08:21 +00:00
|
|
|
#define TDESKTOP_REQUESTED_ALPHA_VERSION (4000002004ULL)
|
2016-04-27 12:03:10 +00:00
|
|
|
|
2019-12-06 11:10:44 +00:00
|
|
|
#ifdef TDESKTOP_ALLOW_CLOSED_ALPHA
|
2018-11-08 06:26:18 +00:00
|
|
|
#define TDESKTOP_ALPHA_VERSION TDESKTOP_REQUESTED_ALPHA_VERSION
|
2019-12-06 11:10:44 +00:00
|
|
|
#else // TDESKTOP_ALLOW_CLOSED_ALPHA
|
2018-11-08 05:50:18 +00:00
|
|
|
#define TDESKTOP_ALPHA_VERSION (0ULL)
|
2019-12-06 11:10:44 +00:00
|
|
|
#endif // TDESKTOP_ALLOW_CLOSED_ALPHA
|
2018-11-08 05:50:18 +00:00
|
|
|
|
2020-01-29 09:44:37 +00:00
|
|
|
// used in Updater.cpp and Setup.iss for Windows
|
|
|
|
constexpr auto AppId = "{53F49750-6209-4FBF-9CA8-7A333C87D1ED}"_cs;
|
|
|
|
constexpr auto AppNameOld = "Telegram Win (Unofficial)"_cs;
|
|
|
|
constexpr auto AppName = "Telegram Desktop"_cs;
|
|
|
|
constexpr auto AppFile = "Telegram"_cs;
|
2022-06-24 17:00:52 +00:00
|
|
|
constexpr auto AppVersion = 4000002;
|
|
|
|
constexpr auto AppVersionStr = "4.0.2";
|
2022-06-20 20:11:27 +00:00
|
|
|
constexpr auto AppBetaVersion = false;
|
2018-11-08 05:50:18 +00:00
|
|
|
constexpr auto AppAlphaVersion = TDESKTOP_ALPHA_VERSION;
|