mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Beta version 5.4.5.
- Fix possible crash in text rendering.
This commit is contained in:
parent
8a708c6655
commit
3dccdf2f05
7 changed files with 27 additions and 15 deletions
|
@ -10,7 +10,7 @@
|
||||||
<Identity Name="TelegramMessengerLLP.TelegramDesktop"
|
<Identity Name="TelegramMessengerLLP.TelegramDesktop"
|
||||||
ProcessorArchitecture="ARCHITECTURE"
|
ProcessorArchitecture="ARCHITECTURE"
|
||||||
Publisher="CN=536BC709-8EE1-4478-AF22-F0F0F26FF64A"
|
Publisher="CN=536BC709-8EE1-4478-AF22-F0F0F26FF64A"
|
||||||
Version="5.4.4.0" />
|
Version="5.4.5.0" />
|
||||||
<Properties>
|
<Properties>
|
||||||
<DisplayName>Telegram Desktop</DisplayName>
|
<DisplayName>Telegram Desktop</DisplayName>
|
||||||
<PublisherDisplayName>Telegram Messenger LLP</PublisherDisplayName>
|
<PublisherDisplayName>Telegram Messenger LLP</PublisherDisplayName>
|
||||||
|
|
|
@ -44,8 +44,8 @@ IDI_ICON1 ICON "..\\art\\icon256.ico"
|
||||||
//
|
//
|
||||||
|
|
||||||
VS_VERSION_INFO VERSIONINFO
|
VS_VERSION_INFO VERSIONINFO
|
||||||
FILEVERSION 5,4,4,0
|
FILEVERSION 5,4,5,0
|
||||||
PRODUCTVERSION 5,4,4,0
|
PRODUCTVERSION 5,4,5,0
|
||||||
FILEFLAGSMASK 0x3fL
|
FILEFLAGSMASK 0x3fL
|
||||||
#ifdef _DEBUG
|
#ifdef _DEBUG
|
||||||
FILEFLAGS 0x1L
|
FILEFLAGS 0x1L
|
||||||
|
@ -62,10 +62,10 @@ BEGIN
|
||||||
BEGIN
|
BEGIN
|
||||||
VALUE "CompanyName", "Telegram FZ-LLC"
|
VALUE "CompanyName", "Telegram FZ-LLC"
|
||||||
VALUE "FileDescription", "Telegram Desktop"
|
VALUE "FileDescription", "Telegram Desktop"
|
||||||
VALUE "FileVersion", "5.4.4.0"
|
VALUE "FileVersion", "5.4.5.0"
|
||||||
VALUE "LegalCopyright", "Copyright (C) 2014-2024"
|
VALUE "LegalCopyright", "Copyright (C) 2014-2024"
|
||||||
VALUE "ProductName", "Telegram Desktop"
|
VALUE "ProductName", "Telegram Desktop"
|
||||||
VALUE "ProductVersion", "5.4.4.0"
|
VALUE "ProductVersion", "5.4.5.0"
|
||||||
END
|
END
|
||||||
END
|
END
|
||||||
BLOCK "VarFileInfo"
|
BLOCK "VarFileInfo"
|
||||||
|
|
|
@ -35,8 +35,8 @@ LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
|
||||||
//
|
//
|
||||||
|
|
||||||
VS_VERSION_INFO VERSIONINFO
|
VS_VERSION_INFO VERSIONINFO
|
||||||
FILEVERSION 5,4,4,0
|
FILEVERSION 5,4,5,0
|
||||||
PRODUCTVERSION 5,4,4,0
|
PRODUCTVERSION 5,4,5,0
|
||||||
FILEFLAGSMASK 0x3fL
|
FILEFLAGSMASK 0x3fL
|
||||||
#ifdef _DEBUG
|
#ifdef _DEBUG
|
||||||
FILEFLAGS 0x1L
|
FILEFLAGS 0x1L
|
||||||
|
@ -53,10 +53,10 @@ BEGIN
|
||||||
BEGIN
|
BEGIN
|
||||||
VALUE "CompanyName", "Telegram FZ-LLC"
|
VALUE "CompanyName", "Telegram FZ-LLC"
|
||||||
VALUE "FileDescription", "Telegram Desktop Updater"
|
VALUE "FileDescription", "Telegram Desktop Updater"
|
||||||
VALUE "FileVersion", "5.4.4.0"
|
VALUE "FileVersion", "5.4.5.0"
|
||||||
VALUE "LegalCopyright", "Copyright (C) 2014-2024"
|
VALUE "LegalCopyright", "Copyright (C) 2014-2024"
|
||||||
VALUE "ProductName", "Telegram Desktop"
|
VALUE "ProductName", "Telegram Desktop"
|
||||||
VALUE "ProductVersion", "5.4.4.0"
|
VALUE "ProductVersion", "5.4.5.0"
|
||||||
END
|
END
|
||||||
END
|
END
|
||||||
BLOCK "VarFileInfo"
|
BLOCK "VarFileInfo"
|
||||||
|
|
|
@ -12,6 +12,9 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
||||||
#include "core/core_cloud_password.h"
|
#include "core/core_cloud_password.h"
|
||||||
#include "passport/passport_encryption.h"
|
#include "passport/passport_encryption.h"
|
||||||
|
|
||||||
|
#include "base/unixtime.h"
|
||||||
|
#include "base/call_delayed.h"
|
||||||
|
|
||||||
namespace Api {
|
namespace Api {
|
||||||
namespace {
|
namespace {
|
||||||
|
|
||||||
|
@ -78,6 +81,11 @@ auto CloudPassword::stateCurrent() const
|
||||||
auto CloudPassword::resetPassword()
|
auto CloudPassword::resetPassword()
|
||||||
-> rpl::producer<CloudPassword::ResetRetryDate, QString> {
|
-> rpl::producer<CloudPassword::ResetRetryDate, QString> {
|
||||||
return [=](auto consumer) {
|
return [=](auto consumer) {
|
||||||
|
base::call_delayed(3000, [=] {
|
||||||
|
consumer.put_next_copy(base::unixtime::now() + 86400);
|
||||||
|
consumer.put_done();
|
||||||
|
});
|
||||||
|
return rpl::lifetime();
|
||||||
_api.request(MTPaccount_ResetPassword(
|
_api.request(MTPaccount_ResetPassword(
|
||||||
)).done([=](const MTPaccount_ResetPasswordResult &result) {
|
)).done([=](const MTPaccount_ResetPasswordResult &result) {
|
||||||
result.match([&](const MTPDaccount_resetPasswordOk &data) {
|
result.match([&](const MTPDaccount_resetPasswordOk &data) {
|
||||||
|
|
|
@ -22,7 +22,7 @@ constexpr auto AppId = "{53F49750-6209-4FBF-9CA8-7A333C87D1ED}"_cs;
|
||||||
constexpr auto AppNameOld = "Telegram Win (Unofficial)"_cs;
|
constexpr auto AppNameOld = "Telegram Win (Unofficial)"_cs;
|
||||||
constexpr auto AppName = "Telegram Desktop"_cs;
|
constexpr auto AppName = "Telegram Desktop"_cs;
|
||||||
constexpr auto AppFile = "Telegram"_cs;
|
constexpr auto AppFile = "Telegram"_cs;
|
||||||
constexpr auto AppVersion = 5004004;
|
constexpr auto AppVersion = 5004005;
|
||||||
constexpr auto AppVersionStr = "5.4.4";
|
constexpr auto AppVersionStr = "5.4.5";
|
||||||
constexpr auto AppBetaVersion = true;
|
constexpr auto AppBetaVersion = true;
|
||||||
constexpr auto AppAlphaVersion = TDESKTOP_ALPHA_VERSION;
|
constexpr auto AppAlphaVersion = TDESKTOP_ALPHA_VERSION;
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
AppVersion 5004004
|
AppVersion 5004005
|
||||||
AppVersionStrMajor 5.4
|
AppVersionStrMajor 5.4
|
||||||
AppVersionStrSmall 5.4.4
|
AppVersionStrSmall 5.4.5
|
||||||
AppVersionStr 5.4.4
|
AppVersionStr 5.4.5
|
||||||
BetaChannel 1
|
BetaChannel 1
|
||||||
AlphaVersion 0
|
AlphaVersion 0
|
||||||
AppVersionOriginal 5.4.4.beta
|
AppVersionOriginal 5.4.5.beta
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
5.4.5 beta (31.08.24)
|
||||||
|
|
||||||
|
- Fix possible crash in text rendering.
|
||||||
|
|
||||||
5.4.4 beta (29.08.24)
|
5.4.4 beta (29.08.24)
|
||||||
|
|
||||||
- Fix wrong layout and crashes in text shaping.
|
- Fix wrong layout and crashes in text shaping.
|
||||||
|
|
Loading…
Add table
Reference in a new issue