2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Use custom workdir even if it doesn't exist

This commit is contained in:
Ilya Fedin
2023-02-19 07:18:17 +04:00
committed by John Preston
parent 8099c28197
commit 9849b7adb6
3 changed files with 3 additions and 8 deletions

View File

@@ -407,8 +407,6 @@ void start(not_null<Core::Launcher*> launcher) {
}
}
cForceWorkingDir(QDir(cWorkingDir()).absolutePath() + '/');
// WinRT build requires the working dir to stay the same for plugin loading.
#ifndef Q_OS_WINRT
QDir().setCurrent(cWorkingDir());