The all-in-one local AI studio for your desktop: chat, image and video generation and a coding agent in one free, open source app. Windows and Linux. No Docker, no terminal, no cloud required.
TypeScript agentai-chatai-studioall-in-onecoding-agentdesktop-appfluximage-generationlinuxllmlocal-ailocal-llmopen-sourceprivacyself-hostedstable-diffusionuncensoreduncensored-aivideo-generationwindows
fix(comfy): ein POSIX-Pfad von ComfyUI gilt auch auf Windows als absolut
purple41d1bb8bf462
diff --git a/src-tauri/src/commands/comfy_folders.rs b/src-tauri/src/commands/comfy_folders.rsindex 35e70297..e5e66c96 100644--- a/src-tauri/src/commands/comfy_folders.rs+++ b/src-tauri/src/commands/comfy_folders.rs@@ -61,11 +61,15 @@ const FETCH_TIMEOUT: Duration = Duration::from_secs(3);/// question, and `folders_of` answers it by refusing to ask a remote engine at/// all: those paths are on the other machine.fn looks_absolute(raw: &str) -> bool {- let p = std::path::Path::new(raw);- if p.is_absolute() {+ let b = raw.as_bytes();+ // A POSIX root. This is the half `is_absolute` got wrong in the other+ // direction: on Windows it calls `/srv/ai/vae` relative, and ComfyUI hands+ // us exactly that whenever the engine runs on Linux, in WSL or in a+ // container while LU runs on Windows. Also covers the `//server/share`+ // spelling of a share.+ if b.first() == Some(&b'/') {return true;}- let b = raw.as_bytes();// A UNC share, or a drive letter followed by a separator.raw.starts_with("\\\\")|| (b.len() >= 3 && b[0].is_ascii_alphabetic() && b[1] == b':' && (b[2] == b'\\' || b[2] == b'/'))