mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 22:54:01 +02:00
Merge pull request #1341 from aliva/fix-data-path
force telegram respect my workdir settings
This commit is contained in:
commit
8f35281e0a
1 changed files with 3 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue