From 66d512f26f9f16f1078fc2bb8a2edc3395f022f1 Mon Sep 17 00:00:00 2001 From: John Preston Date: Thu, 8 May 2025 18:13:34 +0400 Subject: [PATCH] Version 5.14.2. - Buy Rare Gifts in the Marketplace. - Sell Your Gifts for Stars. - Set Your Channel to Auto-Translate. --- Telegram/Resources/uwp/AppX/AppxManifest.xml | 2 +- Telegram/Resources/winrc/Telegram.rc | 8 ++++---- Telegram/Resources/winrc/Updater.rc | 8 ++++---- Telegram/SourceFiles/boxes/star_gift_box.cpp | 7 ------- Telegram/SourceFiles/core/version.h | 4 ++-- Telegram/build/version | 8 ++++---- changelog.txt | 6 ++++++ 7 files changed, 21 insertions(+), 22 deletions(-) diff --git a/Telegram/Resources/uwp/AppX/AppxManifest.xml b/Telegram/Resources/uwp/AppX/AppxManifest.xml index 202f6b843a..34ebcab856 100644 --- a/Telegram/Resources/uwp/AppX/AppxManifest.xml +++ b/Telegram/Resources/uwp/AppX/AppxManifest.xml @@ -10,7 +10,7 @@ + Version="5.14.2.0" /> Telegram Desktop Telegram Messenger LLP diff --git a/Telegram/Resources/winrc/Telegram.rc b/Telegram/Resources/winrc/Telegram.rc index 7295efd468..ca54c2e1ad 100644 --- a/Telegram/Resources/winrc/Telegram.rc +++ b/Telegram/Resources/winrc/Telegram.rc @@ -44,8 +44,8 @@ IDI_ICON1 ICON "..\\art\\icon256.ico" // VS_VERSION_INFO VERSIONINFO - FILEVERSION 5,14,1,0 - PRODUCTVERSION 5,14,1,0 + FILEVERSION 5,14,2,0 + PRODUCTVERSION 5,14,2,0 FILEFLAGSMASK 0x3fL #ifdef _DEBUG FILEFLAGS 0x1L @@ -62,10 +62,10 @@ BEGIN BEGIN VALUE "CompanyName", "Telegram FZ-LLC" VALUE "FileDescription", "Telegram Desktop" - VALUE "FileVersion", "5.14.1.0" + VALUE "FileVersion", "5.14.2.0" VALUE "LegalCopyright", "Copyright (C) 2014-2025" VALUE "ProductName", "Telegram Desktop" - VALUE "ProductVersion", "5.14.1.0" + VALUE "ProductVersion", "5.14.2.0" END END BLOCK "VarFileInfo" diff --git a/Telegram/Resources/winrc/Updater.rc b/Telegram/Resources/winrc/Updater.rc index 8768cc90a9..bb50206173 100644 --- a/Telegram/Resources/winrc/Updater.rc +++ b/Telegram/Resources/winrc/Updater.rc @@ -35,8 +35,8 @@ LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US // VS_VERSION_INFO VERSIONINFO - FILEVERSION 5,14,1,0 - PRODUCTVERSION 5,14,1,0 + FILEVERSION 5,14,2,0 + PRODUCTVERSION 5,14,2,0 FILEFLAGSMASK 0x3fL #ifdef _DEBUG FILEFLAGS 0x1L @@ -53,10 +53,10 @@ BEGIN BEGIN VALUE "CompanyName", "Telegram FZ-LLC" VALUE "FileDescription", "Telegram Desktop Updater" - VALUE "FileVersion", "5.14.1.0" + VALUE "FileVersion", "5.14.2.0" VALUE "LegalCopyright", "Copyright (C) 2014-2025" VALUE "ProductName", "Telegram Desktop" - VALUE "ProductVersion", "5.14.1.0" + VALUE "ProductVersion", "5.14.2.0" END END BLOCK "VarFileInfo" diff --git a/Telegram/SourceFiles/boxes/star_gift_box.cpp b/Telegram/SourceFiles/boxes/star_gift_box.cpp index 3b1fea2941..116704c81f 100644 --- a/Telegram/SourceFiles/boxes/star_gift_box.cpp +++ b/Telegram/SourceFiles/boxes/star_gift_box.cpp @@ -1142,13 +1142,6 @@ struct ResaleTabs { ? AttributeIdType::Backdrop : AttributeIdType::Pattern; }; - static constexpr auto TypeToIndex = [](AttributeIdType type) { - return (type == AttributeIdType::Model) - ? 1 - : (type == AttributeIdType::Backdrop) - ? 2 - : 3; - }; const auto setSelected = [=](int index) { const auto was = (state->selected >= 0); diff --git a/Telegram/SourceFiles/core/version.h b/Telegram/SourceFiles/core/version.h index a401c0f6f1..8685c211bd 100644 --- a/Telegram/SourceFiles/core/version.h +++ b/Telegram/SourceFiles/core/version.h @@ -22,7 +22,7 @@ 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; -constexpr auto AppVersion = 5014001; -constexpr auto AppVersionStr = "5.14.1"; +constexpr auto AppVersion = 5014002; +constexpr auto AppVersionStr = "5.14.2"; constexpr auto AppBetaVersion = false; constexpr auto AppAlphaVersion = TDESKTOP_ALPHA_VERSION; diff --git a/Telegram/build/version b/Telegram/build/version index 2c75414465..a4aa06a501 100644 --- a/Telegram/build/version +++ b/Telegram/build/version @@ -1,7 +1,7 @@ -AppVersion 5014001 +AppVersion 5014002 AppVersionStrMajor 5.14 -AppVersionStrSmall 5.14.1 -AppVersionStr 5.14.1 +AppVersionStrSmall 5.14.2 +AppVersionStr 5.14.2 BetaChannel 0 AlphaVersion 0 -AppVersionOriginal 5.14.1 +AppVersionOriginal 5.14.2 diff --git a/changelog.txt b/changelog.txt index 604bf67486..f4518890f6 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,3 +1,9 @@ +5.14.2 (08.05.25) + +- Buy Rare Gifts in the Marketplace. +- Sell Your Gifts for Stars. +- Set Your Channel to Auto-Translate. + 5.14.1 (01.05.25) - Fix launching on Windows 7.