mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-04-19 23:31:21 +02:00
Notify of plugin updates and add update UX (#339)
This commit is contained in:
@@ -254,6 +254,10 @@ impl PluginManager {
|
||||
.await?;
|
||||
|
||||
if !matches!(event.payload, InternalEventPayload::BootResponse) {
|
||||
// Add it to the plugin handles anyway...
|
||||
let mut plugin_handles = self.plugin_handles.lock().await;
|
||||
plugin_handles.retain(|p| p.dir != plugin.directory);
|
||||
plugin_handles.push(plugin_handle.clone());
|
||||
return Err(UnknownEventErr);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user