Bump version to 1.3.13.

This commit is contained in:
John Preston 2018-07-16 22:43:44 +03:00
parent 5a487bc30c
commit b78c08a30a
7 changed files with 18 additions and 26 deletions

View File

@ -9,7 +9,7 @@
<Identity Name="TelegramMessengerLLP.TelegramDesktop"
ProcessorArchitecture="ARCHITECTURE"
Publisher="CN=536BC709-8EE1-4478-AF22-F0F0F26FF64A"
Version="1.3.12.0" />
Version="1.3.13.0" />
<Properties>
<DisplayName>Telegram Desktop</DisplayName>
<PublisherDisplayName>Telegram Messenger LLP</PublisherDisplayName>

View File

@ -34,8 +34,8 @@ IDI_ICON1 ICON "..\\art\\icon256.ico"
//
VS_VERSION_INFO VERSIONINFO
FILEVERSION 1,3,12,0
PRODUCTVERSION 1,3,12,0
FILEVERSION 1,3,13,0
PRODUCTVERSION 1,3,13,0
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS 0x1L
@ -52,10 +52,10 @@ BEGIN
BEGIN
VALUE "CompanyName", "Telegram Messenger LLP"
VALUE "FileDescription", "Telegram Desktop"
VALUE "FileVersion", "1.3.12.0"
VALUE "FileVersion", "1.3.13.0"
VALUE "LegalCopyright", "Copyright (C) 2014-2018"
VALUE "ProductName", "Telegram Desktop"
VALUE "ProductVersion", "1.3.12.0"
VALUE "ProductVersion", "1.3.13.0"
END
END
BLOCK "VarFileInfo"

View File

@ -25,8 +25,8 @@ LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
//
VS_VERSION_INFO VERSIONINFO
FILEVERSION 1,3,12,0
PRODUCTVERSION 1,3,12,0
FILEVERSION 1,3,13,0
PRODUCTVERSION 1,3,13,0
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS 0x1L
@ -43,10 +43,10 @@ BEGIN
BEGIN
VALUE "CompanyName", "Telegram Messenger LLP"
VALUE "FileDescription", "Telegram Desktop Updater"
VALUE "FileVersion", "1.3.12.0"
VALUE "FileVersion", "1.3.13.0"
VALUE "LegalCopyright", "Copyright (C) 2014-2018"
VALUE "ProductName", "Telegram Desktop"
VALUE "ProductVersion", "1.3.12.0"
VALUE "ProductVersion", "1.3.13.0"
END
END
BLOCK "VarFileInfo"

View File

@ -11,7 +11,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
#define BETA_VERSION_MACRO (0ULL)
constexpr int AppVersion = 1003012;
constexpr str_const AppVersionStr = "1.3.12";
constexpr bool AppAlphaVersion = true;
constexpr int AppVersion = 1003013;
constexpr str_const AppVersionStr = "1.3.13";
constexpr bool AppAlphaVersion = false;
constexpr uint64 AppBetaVersion = BETA_VERSION_MACRO;

View File

@ -29,11 +29,7 @@ StorageImageLocation readStorageImageLocation(
quint64 volume, secret;
QByteArray fileReference;
stream >> width >> height >> dc >> volume >> local >> secret;
#ifdef _DEBUG
if (streamAppVersion >= 1003013 || true) { // #TODO testing
#else
#error "test"
#endif
if (streamAppVersion >= 1003013) {
stream >> fileReference;
}
return StorageImageLocation(

View File

@ -59,11 +59,7 @@ DocumentData *Document::readFromStreamHelper(int streamAppVersion, QDataStream &
QByteArray fileReference;
stream >> id >> access >> date;
if (streamAppVersion >= 9061) {
#ifdef _DEBUG
if (streamAppVersion >= 1003013 || true) { // #TODO testing
#else
#error "test"
#endif
if (streamAppVersion >= 1003013) {
stream >> fileReference;
}
stream >> version;

View File

@ -1,6 +1,6 @@
AppVersion 1003012
AppVersion 1003013
AppVersionStrMajor 1.3
AppVersionStrSmall 1.3.12
AppVersionStr 1.3.12
AlphaChannel 1
AppVersionStrSmall 1.3.13
AppVersionStr 1.3.13
AlphaChannel 0
BetaVersion 0