Introduce reveal_path in Platform
And implement it for MacPlatform, and instead of using an external process to run `open`, use the NSWorkspace selectFile instance method.
This commit is contained in:
parent
9143790602
commit
015b8db1c3
5 changed files with 19 additions and 14 deletions
|
@ -173,6 +173,8 @@ impl super::Platform for Platform {
|
|||
|
||||
fn open_url(&self, _: &str) {}
|
||||
|
||||
fn reveal_path(&self, _: &Path) {}
|
||||
|
||||
fn write_credentials(&self, _: &str, _: &str, _: &[u8]) -> Result<()> {
|
||||
Ok(())
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue