mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-09-02 01:09:15 +00:00
Changed deletion path for Qdrant
This commit is contained in:
parent
0e38bc657f
commit
42f46dc805
@ -401,7 +401,7 @@ fn remove_obsolete_qdrant_sidecar_files<R: tauri::Runtime>(app_handle: &tauri::A
|
|||||||
cfg_if::cfg_if! {
|
cfg_if::cfg_if! {
|
||||||
if #[cfg(any(target_os = "windows", target_os = "macos"))]{
|
if #[cfg(any(target_os = "windows", target_os = "macos"))]{
|
||||||
if let Ok(current_exe) = std::env::current_exe() && let Some(exe_dir) = current_exe.parent() {
|
if let Ok(current_exe) = std::env::current_exe() && let Some(exe_dir) = current_exe.parent() {
|
||||||
if (current_exe.to_string_lossy().contains("MindWork AI Studio")) {
|
if (exe_dir.to_string_lossy().contains("MindWork AI Studio")) {
|
||||||
paths.push(exe_dir.join("target").join("databases").join("qdrant"));
|
paths.push(exe_dir.join("target").join("databases").join("qdrant"));
|
||||||
paths.push(exe_dir.join("qdrant.exe"));
|
paths.push(exe_dir.join("qdrant.exe"));
|
||||||
paths.push(exe_dir.join("qdrant"));
|
paths.push(exe_dir.join("qdrant"));
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user