mirror of https://github.com/procxx/kepka.git
Merge pull request #1341 from aliva/fix-data-path
force telegram respect my workdir settings
This commit is contained in:
commit
8f35281e0a
|
@ -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