Fixed order of actions

This commit is contained in:
Thorsten Sommer 2026-03-14 11:05:29 +01:00
parent 99a29c33ed
commit 0780fcaae6
Signed by untrusted user who does not match committer: tsommer
GPG Key ID: 371BBA77A02C0108

View File

@ -107,8 +107,6 @@ 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();
@ -116,6 +114,8 @@ pub fn start_tauri() {
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:?}");