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(mac): kein Apple-Music- und Schreibtisch-Dialog beim Start, ComfyUI-Suche laeuft nicht mehr durchs Home
purpled5006cf9ad6e
diff --git a/src-tauri/src/commands/process.rs b/src-tauri/src/commands/process.rsindex 8e378b87..185ad255 100644--- a/src-tauri/src/commands/process.rs+++ b/src-tauri/src/commands/process.rs@@ -590,6 +590,13 @@ fn resolve_comfyui_path(input: &str) -> Option<String> {None}+/// Whether find_comfyui_path may look beyond the explicit sources (env var,+/// app config) and search the disk. False on macOS: ComfyUI is never used+/// there, and the search would trip the Desktop and Music permission dialogs.+pub(crate) fn comfyui_disk_search_allowed() -> bool {+ !cfg!(target_os = "macos")+}+pub fn find_comfyui_path() -> Option<String> {// 1. Check environment variableif let Ok(env_path) = std::env::var("COMFYUI_PATH") {@@ -614,6 +621,18 @@ pub fn find_comfyui_path() -> Option<String> {}}+ // 3. Filesystem search. macOS never runs ComfyUI (local media is MLX+ // only, see auto_start_comfyui), so on a Mac the search ends with the+ // explicit sources above. Walking the disk there is not only wasted+ // time: the deep home walk below crosses ~/Desktop and ~/Music, and+ // macOS answers the first touch of each with a permission dialog ("LU+ // wants to access Apple Music" / "the Desktop folder"). Seen on the+ // 2.6.8 test bundle at launch, while the window still said LOADING,+ // because check_model_sizes and find_comfyui both land here.+ if !comfyui_disk_search_allowed() {+ return None;+ }+let home = dirs::home_dir().unwrap_or_default();// 3. Check common fixed locations (including Stability Matrix, portable installs)@@ -1782,7 +1801,10 @@ pub fn is_local_host(host: &str) -> bool {matches!(h.as_str(), "localhost" | "127.0.0.1" | "::1" | "0.0.0.0" | "")}-#[tauri::command]+// `async`: find_comfyui_path can walk the whole home directory (minutes on+// a big disk). As a plain command it ran on the main thread and froze the+// window at LOADING for as long as the walk took.+#[tauri::command(async)]pub fn find_comfyui() -> Result<serde_json::Value, String> {match find_comfyui_path() {Some(path) => {@@ -2268,6 +2290,15 @@ pub fn auto_start_comfyui(state: &AppState) {mod tests {use super::*;+ /// The Mac never runs ComfyUI, so it must never search the disk for one:+ /// the home walk crosses ~/Desktop and ~/Music and macOS turns the first+ /// touch of each into a permission dialog at launch.+ #[test]+ fn comfyui_disk_search_is_off_on_macos_and_on_elsewhere() {+ assert_eq!(comfyui_disk_search_allowed(), !cfg!(target_os = "macos"));+ }++// ── E16: a start that fails has to say so ────────────────────────────//// Measured on the Windows box on 2026-08-14. The install had ComfyUI'sdiff --git a/src/lib/release-notes.ts b/src/lib/release-notes.tsindex c5da18a5..f50c4c46 100644--- a/src/lib/release-notes.ts+++ b/src/lib/release-notes.ts@@ -59,6 +59,7 @@ export const RELEASE_NOTES: ReleaseNote[] = ['The Linux packages ask for the libraries the built-in engine links against. The deb and the rpm named the desktop libraries but not libvulkan1 and libgomp1, so on a machine without them the install went through, the engine then died in the loader, and the message blamed your graphics card. The missing library is named now, together with the command that installs it. If you run the AppImage instead, it needs the Vulkan loader (libvulkan1) from your system, because an AppImage cannot carry that one itself.','The Coding Agent\'s working directory can be removed again. There is a Remove button beside the folder picker and one in the header, both are locked while a run is going, and picking a different folder moves the current chat over to it.','The prompt history in Create can be cleared. Every entry has its own remove button, and Clear all at the top of the list wipes the lot after a second click.',+ 'On the Mac, LU stopped searching your whole home folder for a ComfyUI it never runs there. That search touched the Desktop and Music folders, so macOS asked for access to Apple Music and to the Desktop at first launch, and the window sat on LOADING while the search ran. On Windows and Linux the same search moved off the main thread, so a slow disk no longer freezes the window.',],},{diff --git a/src/stores/__tests__/releaseNotesStore.test.ts b/src/stores/__tests__/releaseNotesStore.test.tsindex 86a0c382..efdf8d6a 100644--- a/src/stores/__tests__/releaseNotesStore.test.ts+++ b/src/stores/__tests__/releaseNotesStore.test.ts@@ -86,7 +86,7 @@ describe('the notes table', () => {'effort', 'glm 5.3', 'installed', 'built-in engine', '8127','repair environment', 'model storage', 'civitai', 'hip sdk','vram_total', 'libvulkan1', 'working directory', 'document chat',- 'prompt history', 'side panel', 'researched rather than proven',+ 'prompt history', 'side panel', 'researched rather than proven', 'apple music',]) {expect(prose, `${shipping}: nothing about "${anchor}"`).toContain(anchor)}