giantpinkrobots / flatsweep

Flatpak leftover cleaner, written in Python
https://flathub.org/apps/io.github.giantpinkrobots.flatsweep
Mozilla Public License 2.0
98 stars 16 forks source link

Also remove unused runtimes #34

Open labsin opened 6 months ago

labsin commented 6 months ago

Unused runtimes take up huge amount of disk space. it would be useful if there was a GUI tool to remove them.

So basically the output of flatpak uninstall --unused in a ui

mikinol commented 1 month ago

This would be a really useful feature. @giantpinkrobots will this be added?

giantpinkrobots commented 1 month ago

To be able to add this functionality Flatsweep would need to have additional permissions to access the flatpak command. In the first version I had made it did use these permissions but later I changed the code to not utilize flatpak-spawn in order to comply with Flathub's guidelines of using as few permissions as possible. This feature would be very cool though, I think I may renegotiate with the Flathub people to request these additional permissions. No promises though.