fix: clean successful plugin rollback backups

This commit is contained in:
jxxghp
2026-08-24 11:49:56 +08:00
parent df9b733d1e
commit d95a6a96fe
3 changed files with 100 additions and 1 deletions
+2
View File
@@ -2083,6 +2083,8 @@ class PluginHelper(metaclass=WeakSingleton):
return False, dep_msg
self.refresh_persistent_plugin_backup(pid)
if backup_dir:
shutil.rmtree(backup_dir, ignore_errors=True)
return True, ""
@staticmethod