fix(macOS): normalize Finder alias target path
This commit is contained in:
parent
2a32b42b36
commit
aba0054589
|
|
@ -1,7 +1,10 @@
|
||||||
use std::path::{Path, PathBuf};
|
use std::path::{Path, PathBuf};
|
||||||
|
#[cfg(target_os = "macos")]
|
||||||
use std::process::Command;
|
use std::process::Command;
|
||||||
|
|
||||||
use anyhow::{Context, Result};
|
#[cfg(target_os = "macos")]
|
||||||
|
use anyhow::Context;
|
||||||
|
use anyhow::Result;
|
||||||
|
|
||||||
use crate::util;
|
use crate::util;
|
||||||
|
|
||||||
|
|
@ -62,4 +65,4 @@ end run
|
||||||
}
|
}
|
||||||
|
|
||||||
Ok(Some(util::resolve_path(resolved)?))
|
Ok(Some(util::resolve_path(resolved)?))
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue