mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-03-31 15:59:54 +00:00
force telegram respect my workdir settings
Signed-off-by: Ali Vakilzade <ali@vakilzade.ir> (github: aliva)
This commit is contained in:
parent
6b39296677
commit
d6893d09dc
@ -223,7 +223,9 @@ void logsInit() {
|
||||
#ifdef _DEBUG
|
||||
cForceWorkingDir(cExeDir());
|
||||
#else
|
||||
cForceWorkingDir(psAppDataPath());
|
||||
if(cWorkingDir().isEmpty()){
|
||||
cForceWorkingDir(psAppDataPath());
|
||||
}
|
||||
#endif
|
||||
|
||||
#if (defined Q_OS_LINUX && !defined _DEBUG) // fix first version
|
||||
|
Loading…
Reference in New Issue
Block a user