def mark_as_available(self, plug): core.uninstall_plugin(plug) self.availableWidget.add_table_items([plug])
def update_plugin_thread(self): for p in self.plug: core.uninstall_plugin(p) core.download_plugin(p[3]) core.update_local_plugin_descriptor([p]) self._manager.reset_installed_plugins()