Open 12944qwerty opened 1 year ago
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
Describe the bug
On Windows (only I believe), you can't uninstall plugins because of this error:![Error: Error invoking remote method "REPLUGGED_UNINSTALL_PLUGIN": Error: EBUSY: resource busy or locked, unlink %AppData%\replugged\plugins\MyPlugin.asar](https://user-images.githubusercontent.com/45984786/216830758-7adae638-2e24-44a7-af61-eadda48ee342.png)
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
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