mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-18 06:24:24 +01:00
Plugins: Fix plugin installer
This commit is contained in:
@@ -216,6 +216,10 @@ namespace BTCPayServer.Plugins
|
||||
case "delete":
|
||||
|
||||
ExecuteCommand(("enable", command.extension), pluginsFolder, true);
|
||||
if (File.Exists(dirName))
|
||||
{
|
||||
File.Delete(dirName);
|
||||
}
|
||||
if (Directory.Exists(dirName))
|
||||
{
|
||||
Directory.Delete(dirName, true);
|
||||
|
||||
Reference in New Issue
Block a user