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:?}");