mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-04-23 09:08:32 +02:00
Show proxy status in UI
This commit is contained in:
@@ -1450,6 +1450,13 @@ async fn cmd_reload_plugins<R: Runtime>(
|
||||
Ok(())
|
||||
}
|
||||
|
||||
#[tauri::command]
|
||||
async fn cmd_plugin_init_errors(
|
||||
plugin_manager: State<'_, PluginManager>,
|
||||
) -> YaakResult<Vec<(String, String)>> {
|
||||
Ok(plugin_manager.take_init_errors().await)
|
||||
}
|
||||
|
||||
#[tauri::command]
|
||||
async fn cmd_plugin_info<R: Runtime>(
|
||||
id: &str,
|
||||
@@ -1728,6 +1735,7 @@ pub fn run() {
|
||||
cmd_new_child_window,
|
||||
cmd_new_main_window,
|
||||
cmd_plugin_info,
|
||||
cmd_plugin_init_errors,
|
||||
cmd_reload_plugins,
|
||||
cmd_render_template,
|
||||
cmd_restart,
|
||||
|
||||
Reference in New Issue
Block a user