From 0780fcaae6d64453e7dfa818be4bcb75ef004eec Mon Sep 17 00:00:00 2001 From: Thorsten Sommer Date: Sat, 14 Mar 2026 11:05:29 +0100 Subject: [PATCH] Fixed order of actions --- runtime/src/app_window.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/runtime/src/app_window.rs b/runtime/src/app_window.rs index 7be851b4..74930843 100644 --- a/runtime/src/app_window.rs +++ b/runtime/src/app_window.rs @@ -107,15 +107,15 @@ pub fn start_tauri() { DATA_DIRECTORY.set(data_path.to_str().unwrap().to_string()).map_err(|_| error!("Was not able to set the data directory.")).unwrap(); CONFIG_DIRECTORY.set(app.path_resolver().app_config_dir().unwrap().to_str().unwrap().to_string()).map_err(|_| error!("Was not able to set the config directory.")).unwrap(); - cleanup_qdrant(is_dev()); - if is_dev() { #[cfg(debug_assertions)] create_startup_env_file(); } else { cleanup_dotnet_server(); start_dotnet_server(); - } + } + + cleanup_qdrant(is_dev()); start_qdrant_server(app.path_resolver(), is_dev()); info!(Source = "Bootloader Tauri"; "Reconfigure the file logger to use the app data directory {data_path:?}");