2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-30 22:16:14 +00:00

Use separate download folder for support.

This commit is contained in:
John Preston
2018-11-22 17:15:52 +04:00
parent 7705999e57
commit 3f58c930e3
13 changed files with 17 additions and 29 deletions

View File

@@ -306,10 +306,6 @@ QString psAppDataPath() {
return QStandardPaths::writableLocation(QStandardPaths::AppLocalDataLocation) + '/';
}
QString psDownloadPath() {
return QStandardPaths::writableLocation(QStandardPaths::DownloadLocation) + '/' + str_const_toString(AppName) + '/';
}
void psDoCleanup() {
try {
psAutoStart(false, true);

View File

@@ -59,7 +59,6 @@ void psClearInitLogs();
void psActivateProcess(uint64 pid = 0);
QString psLocalServerPrefix();
QString psAppDataPath();
QString psDownloadPath();
void psAutoStart(bool start, bool silent = false);
void psSendToMenu(bool send, bool silent = false);