mirror of
https://github.com/Qz3rK/tdesktop.git
synced 2026-07-03 14:15:08 +02:00
force telegram respect my workdir settings
Signed-off-by: Ali Vakilzade <ali@vakilzade.ir> (github: aliva)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user