From 3cdb528dfee6ab9447b2c50d5b1a8de26a23d6a3 Mon Sep 17 00:00:00 2001 From: John Preston Date: Mon, 1 Apr 2024 21:10:50 +0400 Subject: [PATCH] Use "Downloads/Telegram Lite" in MacAppStore version. --- Telegram/SourceFiles/core/file_utilities.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Telegram/SourceFiles/core/file_utilities.cpp b/Telegram/SourceFiles/core/file_utilities.cpp index 7103e1bd6..26cc17279 100644 --- a/Telegram/SourceFiles/core/file_utilities.cpp +++ b/Telegram/SourceFiles/core/file_utilities.cpp @@ -168,7 +168,11 @@ void ShowInFolder(const QString &filepath) { } QString DefaultDownloadPathFolder(not_null session) { +#if OS_MAC_STORE + return u"Telegram Lite"_q; +#else // OS_MAC_STORE return session->supportMode() ? u"Tsupport Desktop"_q : AppName.utf16(); +#endif // OS_MAC_STORE } QString DefaultDownloadPath(not_null session) {