Closed ephraim closed 7 years ago
Hmm, any hints as to how we could go about fixing this? I'm very interested in trying! :)
Should be very simple: https://docs.python.org/3/library/shutil.html#shutil.rmtree
But you should be careful - make sure that it's impossible for a wrong path to end up as an argument (don't want users to delete their home directories)
Fair enough, I was more thinking about how we should include it in the code (what file would it belong in, for instance)
I think you could just expand the existing removeAddon method here: https://github.com/ephraim/lcurse/blob/master/modules/application.py#L344
A removed addon of lcurse is still available in wow.
The remove dlg should have the option that lcurse should try to remove it from wow too.