1
0

plugins dialog: show description and enable buttons in the same dialog

This commit is contained in:
ThomasV
2024-10-02 11:16:59 +02:00
parent cc2db1544f
commit 7c6ff6757c
2 changed files with 105 additions and 53 deletions

View File

@@ -178,6 +178,10 @@ class Plugins(DaemonThread):
os.unlink(filename)
raise Exception(f"wrong plugin hash {name}")
def remove_external_plugin(self, name):
filename = self.external_plugin_path(name)
os.unlink(filename)
def load_external_plugin(self, name):
if name in self.plugins:
return self.plugins[name]