mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-01-11 22:40:26 +01:00
Fix plugin install
This commit is contained in:
@@ -1281,9 +1281,7 @@ async fn cmd_install_plugin<R: Runtime>(
|
||||
&UpdateSource::from_window(&window),
|
||||
)?;
|
||||
|
||||
plugin_manager
|
||||
.add_plugin(&PluginContext::new(&window), &plugin.directory, plugin.enabled)
|
||||
.await?;
|
||||
plugin_manager.add_plugin(&PluginContext::new(&window), &plugin).await?;
|
||||
|
||||
Ok(plugin)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user