From aba0054589c518a2a5d835d7160ed103e5831445 Mon Sep 17 00:00:00 2001 From: DrewSkelton Date: Sun, 12 Jul 2026 13:47:31 -0400 Subject: [PATCH] fix(macOS): normalize Finder alias target path --- src/path_resolver.rs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/path_resolver.rs b/src/path_resolver.rs index a853387..6d0e1b2 100644 --- a/src/path_resolver.rs +++ b/src/path_resolver.rs @@ -1,7 +1,10 @@ use std::path::{Path, PathBuf}; +#[cfg(target_os = "macos")] use std::process::Command; -use anyhow::{Context, Result}; +#[cfg(target_os = "macos")] +use anyhow::Context; +use anyhow::Result; use crate::util; @@ -62,4 +65,4 @@ end run } Ok(Some(util::resolve_path(resolved)?)) -} \ No newline at end of file +}