From adda93338de38ac47f0c5575577055fdc4bcc04f Mon Sep 17 00:00:00 2001
From: John Preston <johnprestonmail@gmail.com>
Date: Wed, 15 Mar 2023 17:38:16 +0400
Subject: [PATCH] Beta version 4.6.11.

- Allow larger interface scale values on high-dpi screens.
- Implement new voice and video speed change interface (up to 2.5x).
- Support global Fn+F shortcut to toggle fullscreen on macOS.
- Silent notification sound in Focus Mode on macOS.
- Fix media viewer on macOS with several screens.
- Fix a crash in connection type box.
- Fix possible crash on quit.
---
 Telegram/Resources/uwp/AppX/AppxManifest.xml |  2 +-
 Telegram/Resources/winrc/Telegram.rc         |  8 ++++----
 Telegram/Resources/winrc/Updater.rc          |  8 ++++----
 Telegram/SourceFiles/core/changelogs.cpp     | 16 ++++++++++++++++
 Telegram/SourceFiles/core/version.h          |  4 ++--
 Telegram/build/version                       |  8 ++++----
 changelog.txt                                | 10 ++++++++++
 7 files changed, 41 insertions(+), 15 deletions(-)

diff --git a/Telegram/Resources/uwp/AppX/AppxManifest.xml b/Telegram/Resources/uwp/AppX/AppxManifest.xml
index cc996794d..a2b92aa83 100644
--- a/Telegram/Resources/uwp/AppX/AppxManifest.xml
+++ b/Telegram/Resources/uwp/AppX/AppxManifest.xml
@@ -10,7 +10,7 @@
   <Identity Name="TelegramMessengerLLP.TelegramDesktop"
     ProcessorArchitecture="ARCHITECTURE"
     Publisher="CN=536BC709-8EE1-4478-AF22-F0F0F26FF64A"
-    Version="4.6.10.0" />
+    Version="4.6.11.0" />
   <Properties>
     <DisplayName>Telegram Desktop</DisplayName>
     <PublisherDisplayName>Telegram Messenger LLP</PublisherDisplayName>
diff --git a/Telegram/Resources/winrc/Telegram.rc b/Telegram/Resources/winrc/Telegram.rc
index 67393c04c..a681b9644 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 4,6,10,0
- PRODUCTVERSION 4,6,10,0
+ FILEVERSION 4,6,11,0
+ PRODUCTVERSION 4,6,11,0
  FILEFLAGSMASK 0x3fL
 #ifdef _DEBUG
  FILEFLAGS 0x1L
@@ -62,10 +62,10 @@ BEGIN
         BEGIN
             VALUE "CompanyName", "Telegram FZ-LLC"
             VALUE "FileDescription", "Telegram Desktop"
-            VALUE "FileVersion", "4.6.10.0"
+            VALUE "FileVersion", "4.6.11.0"
             VALUE "LegalCopyright", "Copyright (C) 2014-2023"
             VALUE "ProductName", "Telegram Desktop"
-            VALUE "ProductVersion", "4.6.10.0"
+            VALUE "ProductVersion", "4.6.11.0"
         END
     END
     BLOCK "VarFileInfo"
diff --git a/Telegram/Resources/winrc/Updater.rc b/Telegram/Resources/winrc/Updater.rc
index 9cc1ef486..bb5244b1c 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 4,6,10,0
- PRODUCTVERSION 4,6,10,0
+ FILEVERSION 4,6,11,0
+ PRODUCTVERSION 4,6,11,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", "4.6.10.0"
+            VALUE "FileVersion", "4.6.11.0"
             VALUE "LegalCopyright", "Copyright (C) 2014-2023"
             VALUE "ProductName", "Telegram Desktop"
-            VALUE "ProductVersion", "4.6.10.0"
+            VALUE "ProductVersion", "4.6.11.0"
         END
     END
     BLOCK "VarFileInfo"
diff --git a/Telegram/SourceFiles/core/changelogs.cpp b/Telegram/SourceFiles/core/changelogs.cpp
index e2027ebc4..cf6336033 100644
--- a/Telegram/SourceFiles/core/changelogs.cpp
+++ b/Telegram/SourceFiles/core/changelogs.cpp
@@ -103,6 +103,22 @@ std::map<int, const char*> BetaLogs() {
 		"- Fix a crash in video chats on Windows.\n"
 
 		"- Fix a crash in audio speed change.\n"
+	},
+	{
+		4006011,
+		"- Allow larger interface scale values on high-dpi screens.\n"
+
+		"- Implement new voice and video speed change interface (up to 2.5x).\n"
+
+		"- Support global Fn+F shortcut to toggle fullscreen on macOS.\n"
+
+		"- Silent notification sound in Focus Mode on macOS.\n"
+
+		"- Fix media viewer on macOS with several screens.\n"
+		
+		"- Fix a crash in connection type box.\n"
+
+		"- Fix possible crash on quit.\n"
 	}
 	};
 };
diff --git a/Telegram/SourceFiles/core/version.h b/Telegram/SourceFiles/core/version.h
index 6f1aa13e6..3b3bf3a7f 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 = 4006010;
-constexpr auto AppVersionStr = "4.6.10";
+constexpr auto AppVersion = 4006011;
+constexpr auto AppVersionStr = "4.6.11";
 constexpr auto AppBetaVersion = true;
 constexpr auto AppAlphaVersion = TDESKTOP_ALPHA_VERSION;
diff --git a/Telegram/build/version b/Telegram/build/version
index 83e6f2d25..73812f539 100644
--- a/Telegram/build/version
+++ b/Telegram/build/version
@@ -1,7 +1,7 @@
-AppVersion         4006010
+AppVersion         4006011
 AppVersionStrMajor 4.6
-AppVersionStrSmall 4.6.10
-AppVersionStr      4.6.10
+AppVersionStrSmall 4.6.11
+AppVersionStr      4.6.11
 BetaChannel        1
 AlphaVersion       0
-AppVersionOriginal 4.6.10.beta
+AppVersionOriginal 4.6.11.beta
diff --git a/changelog.txt b/changelog.txt
index 2a48c5927..86c54f13f 100644
--- a/changelog.txt
+++ b/changelog.txt
@@ -1,3 +1,13 @@
+4.6.11 beta (15.03.23)
+
+- Allow larger interface scale values on high-dpi screens.
+- Implement new voice and video speed change interface (up to 2.5x).
+- Support global Fn+F shortcut to toggle fullscreen on macOS.
+- Silent notification sound in Focus Mode on macOS.
+- Fix media viewer on macOS with several screens.
+- Fix a crash in connection type box.
+- Fix possible crash on quit.
+
 4.6.10 beta (12.03.23)
 
 - Suggest sending an invite link if user forbids inviting him to groups.