telegramdesktop / tdesktop

Telegram Desktop messaging app
https://desktop.telegram.org/
Other
25.83k stars 5.11k forks source link

The confusion of the data directory of the PC platform Linux/Win version #26716

Closed zhangjint5 closed 1 year ago

zhangjint5 commented 1 year ago

Is your feature request related to a problem?

On the Linux platform, Telgram runtime data is generated in the ${HOME}/.local/share/TelgramDesktop directory. This is pretty standard.

But in the Windows version, the data is stored in the directory where the .exe is located, which makes people very confused!

Describe the solution you'd like

It is recommended that the Windows platform store the data in the %USERPROFILE% directory by default!

Describe alternatives you've considered

It is recommended that the Windows platform store the data in the %USERPROFILE% directory by default!

Additional context

No response

ilya-fedin commented 1 year ago

It's made so that there's no need to build separate builds for portable and non-portable versions. You can place Telegram in a directory it can't write and it will use %appdata%.

john-preston commented 1 year ago

Also, if you are speaking about defaults, then by default the setup is placing the exe in the appdata, so the app data is stored in the appdata as well. By default. But you can change the place the exe and data are stored.