mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-03-30 22:51:37 +00:00
Fixed order of actions
This commit is contained in:
parent
99a29c33ed
commit
0780fcaae6
@ -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:?}");
|
||||
|
||||
Loading…
Reference in New Issue
Block a user