psst icon indicating copy to clipboard operation
psst copied to clipboard

Change cache directory

Open FaintWhisper opened this issue 3 years ago • 3 comments

Hello.

I wanted to know if there is any way to change the cache directory. I have not found any option for it within the GUI, the directory gets printed but it does not allow editing.

I have been reviewing the code to see if I could change it easily. I have found that the directory is defined in psst-gui/src/data/config.rs but I don't know much about Rust so I don't know how to modify it :(

I have also found a config file in AppData/Roaming/Psst but it does not include any fields regarding the cache directory.

It would be great if someone could add a simple way to change it.

Thank you very much and great job so far.

FaintWhisper avatar Aug 30 '21 22:08 FaintWhisper

Hi! Why would you like to change it?

jpochyla avatar Aug 31 '21 07:08 jpochyla

The reason is that the main disk (C: drive) of my computer is an SSD and I prefer to reserve it only for the OS so that it does not get worn out by unnecessary writes/reads, I rather move the applications and related cache directories to the second disk (D: drive) which is an HDD, but I know that this is a very particular situation so I would understand that you decide to not implement it.

FaintWhisper avatar Aug 31 '21 15:08 FaintWhisper

This would be an important feature for me as well

4utomator avatar Aug 05 '23 09:08 4utomator