RocketChat / Rocket.Chat.Electron

Official OSX, Windows, and Linux Desktop Clients for Rocket.Chat
https://rocket.chat/
MIT License
1.6k stars 710 forks source link

Change data path from %appdata% roaming to other path - out of Roaming Profile #2357

Open hw-p opened 2 years ago

hw-p commented 2 years ago

Describe the bug Rocketchat saving all data in %appdata% in roaming profile, which is not good, because that folder is geting bigger and it is everytime synced with server. We need to have option to change that path.

What operating system and which version? Windows all Which version of Rocket.Chat (Server)? latest Which version of Rocket.Chat.Electron (Electron/Desktop)? latest Is there any setting relevant changed? no

Expected behavior Option to change default local path, where data should be stored

jeanfbrito commented 2 years ago

That configuration could be an option on the config.json file?

hw-p commented 2 years ago

it will be amazing, easy configurable via that file

preeesha commented 10 months ago

Hey @stylefish, thanks for sharing your experience.

That configuration could be an option on the config.json file?

According to me the most feasible way for this is to provide a setting in the settings page of the app where the user will be able to select his/her preferred path for saving all of the Rocket.Chat's configurations other than the default one (%APPDATA%/Rocket.Chat). By far, the most intuitive way will be providing an input with a button (to select the path by browing).

@jeanfbrito, please let me know if you are convinced with my approach. I would love to work on this issue as soon as possible.

Thanks, Prisha Gupta

preeesha commented 10 months ago

Upon further investigation, it sounds similar to #383