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
|
#ifdef _DEBUG
|
||||||
cForceWorkingDir(cExeDir());
|
cForceWorkingDir(cExeDir());
|
||||||
#else
|
#else
|
||||||
cForceWorkingDir(psAppDataPath());
|
if(cWorkingDir().isEmpty()){
|
||||||
|
cForceWorkingDir(psAppDataPath());
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if (defined Q_OS_LINUX && !defined _DEBUG) // fix first version
|
#if (defined Q_OS_LINUX && !defined _DEBUG) // fix first version
|
||||||
|
|
Loading…
Reference in New Issue