2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 14:38:15 +00:00

Use "Downloads/Telegram Lite" in MacAppStore version.

This commit is contained in:
John Preston
2024-04-01 21:10:50 +04:00
parent d2164dc0d0
commit 3cdb528dfe

View File

@@ -168,7 +168,11 @@ void ShowInFolder(const QString &filepath) {
}
QString DefaultDownloadPathFolder(not_null<Main::Session*> 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<Main::Session*> session) {