mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Use "Downloads/Telegram Lite" in MacAppStore version.
This commit is contained in:
parent
d2164dc0d0
commit
3cdb528dfe
1 changed files with 4 additions and 0 deletions
|
@ -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) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue