SteamDeckHomebrew / decky-loader

A plugin loader for the Steam Deck.
https://decky.xyz
GNU General Public License v2.0
4.78k stars 166 forks source link

[BUG] uninstalling a plugin does not delete that plugin's data directory (I'm happy to send in a PR) #382

Closed geeksville closed 1 year ago

geeksville commented 1 year ago

Please confirm

Bug Report Description

While testing my plugin ( https://github.com/geeksville/steamback ). I noticed that if you uninstall a plugin from the decky UI, it doesn't delete the plugin's data (and log) directory. In the case of my plugin that directory could be kinda sizable.

Is this intentional? If not, let me know and I'll send in a PR to change backend/utilities.py to delete the plugin's data/log directories.

Expected Behaviour

see above

SteamOS version

3.4.4 stable

Selected Update Channel

Prerelease

Have you modified the read-only filesystem at any point?

No response

Logs

not applicable

TrainDoctor commented 1 year ago

This is intended behavior.