From 2c371d5a88ca6157f833f873d3e9b96b82dce9c7 Mon Sep 17 00:00:00 2001 From: ashbit06 <84248051+ashbit06@users.noreply.github.com> Date: Sat, 10 Oct 2026 13:56:37 -0400 Subject: [PATCH] fix showing .DS_Store files created by macOS --- packages/app-lib/src/api/instance/files.rs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/packages/app-lib/src/api/instance/files.rs b/packages/app-lib/src/api/instance/files.rs index fcd00df79ba..1b751e8b1f9 100644 --- a/packages/app-lib/src/api/instance/files.rs +++ b/packages/app-lib/src/api/instance/files.rs @@ -103,6 +103,12 @@ pub async fn list_instance_files( let mut output = Vec::new(); while let Some(entry) = entries.next_entry().await? { let name = entry.file_name().to_string_lossy().into_owned(); + + // exclude macOS .DS_Store files + if name == ".DS_Store" { + continue; + } + let relative = if normalized(path).is_empty() { name.clone() } else {