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:
@@ -168,7 +168,11 @@ void ShowInFolder(const QString &filepath) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
QString DefaultDownloadPathFolder(not_null<Main::Session*> session) {
|
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();
|
return session->supportMode() ? u"Tsupport Desktop"_q : AppName.utf16();
|
||||||
|
#endif // OS_MAC_STORE
|
||||||
}
|
}
|
||||||
|
|
||||||
QString DefaultDownloadPath(not_null<Main::Session*> session) {
|
QString DefaultDownloadPath(not_null<Main::Session*> session) {
|
||||||
|
Reference in New Issue
Block a user