Universal-Debloater-Alliance / universal-android-debloater-next-generation

Cross-platform GUI written in Rust using ADB to debloat non-rooted Android devices. Improve your privacy, the security and battery life of your device.
GNU General Public License v3.0
1.73k stars 63 forks source link

feat(scope): Place uad_lists.json in XDG_DATA_HOME? #521

Open butyoutried opened 1 week ago

butyoutried commented 1 week ago

Describe the feature you want

I think it would be better to move uad_lists.json from XDG_CACHE_HOME to XDG_DATA_HOME, since this file is crucial for UAD, while XDG Base Directory Specification says that XDG_CACHE_HOME is for "non-essential data files" like thumbnails, etc. Moreover, it's impossible to regenerate uad_lists.json without a working internet connection.

Log files also can be moved from XDG_CACHE_HOME to XDG_STATE_HOME:

The $XDG_STATE_HOME <…> may contain: actions history (logs, history, recently used files).

Acknowledgements