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