diff --git a/Telegram/Resources/uwp/AppX/AppxManifest.xml b/Telegram/Resources/uwp/AppX/AppxManifest.xml
index 7f435e28c..baae048a8 100644
--- a/Telegram/Resources/uwp/AppX/AppxManifest.xml
+++ b/Telegram/Resources/uwp/AppX/AppxManifest.xml
@@ -10,7 +10,7 @@
+ Version="4.6.3.0" />
Telegram Desktop
Telegram Messenger LLP
diff --git a/Telegram/Resources/winrc/Telegram.rc b/Telegram/Resources/winrc/Telegram.rc
index eb1f214d5..4e7603f5e 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,2,0
- PRODUCTVERSION 4,6,2,0
+ FILEVERSION 4,6,3,0
+ PRODUCTVERSION 4,6,3,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.2.0"
+ VALUE "FileVersion", "4.6.3.0"
VALUE "LegalCopyright", "Copyright (C) 2014-2023"
VALUE "ProductName", "Telegram Desktop"
- VALUE "ProductVersion", "4.6.2.0"
+ VALUE "ProductVersion", "4.6.3.0"
END
END
BLOCK "VarFileInfo"
diff --git a/Telegram/Resources/winrc/Updater.rc b/Telegram/Resources/winrc/Updater.rc
index b9d21141b..cc8916bb1 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,2,0
- PRODUCTVERSION 4,6,2,0
+ FILEVERSION 4,6,3,0
+ PRODUCTVERSION 4,6,3,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.2.0"
+ VALUE "FileVersion", "4.6.3.0"
VALUE "LegalCopyright", "Copyright (C) 2014-2023"
VALUE "ProductName", "Telegram Desktop"
- VALUE "ProductVersion", "4.6.2.0"
+ VALUE "ProductVersion", "4.6.3.0"
END
END
BLOCK "VarFileInfo"
diff --git a/Telegram/SourceFiles/_other/updater_osx.m b/Telegram/SourceFiles/_other/updater_osx.m
index 5f28125c5..61de6a3f4 100644
--- a/Telegram/SourceFiles/_other/updater_osx.m
+++ b/Telegram/SourceFiles/_other/updater_osx.m
@@ -26,7 +26,9 @@ void openLog() {
return;
}
- NSDateFormatter *fmt = [[NSDateFormatter alloc] initWithDateFormat:@"DebugLogs/%Y%m%d_%H%M%S_upd.txt" allowNaturalLanguage:NO];
+ NSDateFormatter *fmt = [[NSDateFormatter alloc] init];
+ [fmt setLocale:[NSLocale localeWithLocaleIdentifier:@"en_US_POSIX"]];
+ [fmt setDateFormat:@"'DebugLogs/'yyyyMMdd'_'HHmmss'_update.txt'"];
NSString *logPath = [workDir stringByAppendingString:[fmt stringFromDate:[NSDate date]]];
[[NSFileManager defaultManager] createFileAtPath:logPath contents:nil attributes:nil];
_logFile = [NSFileHandle fileHandleForWritingAtPath:logPath];
diff --git a/Telegram/SourceFiles/core/version.h b/Telegram/SourceFiles/core/version.h
index a5b440255..f1fcb19a1 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 = 4006002;
-constexpr auto AppVersionStr = "4.6.2";
+constexpr auto AppVersion = 4006003;
+constexpr auto AppVersionStr = "4.6.3";
constexpr auto AppBetaVersion = false;
constexpr auto AppAlphaVersion = TDESKTOP_ALPHA_VERSION;
diff --git a/Telegram/build/version b/Telegram/build/version
index 8a347182c..fce9188f8 100644
--- a/Telegram/build/version
+++ b/Telegram/build/version
@@ -1,7 +1,7 @@
-AppVersion 4006002
+AppVersion 4006003
AppVersionStrMajor 4.6
-AppVersionStrSmall 4.6.2
-AppVersionStr 4.6.2
+AppVersionStrSmall 4.6.3
+AppVersionStr 4.6.3
BetaChannel 0
AlphaVersion 0
-AppVersionOriginal 4.6.2
+AppVersionOriginal 4.6.3
diff --git a/changelog.txt b/changelog.txt
index 5ba4a4848..e2d0787af 100644
--- a/changelog.txt
+++ b/changelog.txt
@@ -1,3 +1,8 @@
+4.6.3 (15.02.23)
+
+- Optimize chats list initial loading.
+- Various crash fixes.
+
4.6.2 (07.02.23)
- One more attempt to fix fonts on Windows.