replugged
replugged copied to clipboard
Uninstalling plugins doesn't work (Windows)
Describe the bug
On Windows (only I believe), you can't uninstall plugins because of this error:
This only happens on asar plugins. I believe this is due to how electron uses asar files which blocks them from being edited (or deleted). We need a way to stop blocking asars when they're disabled while discord is still running.
Reproduction steps
- Install and enable plugin asar only
- Try uninstalling and check console
Expected behavior
To delete the plugin from the plugins directory completely.
Actual behavior
Plugin gets disabled but doesn't uninstall from directory. It is also removed from the plugin's list until you re-request for that list.
Additional information
No response
Please confirm the following
- [X] I checked if Discord and Replugged are up to date
- [X] I made sure this is not related to an external plugin or a theme
- [X] I searched the issues to make sure this bug has not been reported before.
Relevant so far. You have to remove plugins manually by turning off Discord.
really should be fixed if they want more people to use it. because this is kinda a turnoff for many
I can do the fix that someone suggested where there’s a list of plugins marked as to delete and it’s deleted on next load. It’s not a great permanent fix imo, but it should fix it for now.
Do you want to take this then?
I asked on stackoverflow but got no responses there... try your luck