Skip to content

Commit

Permalink
Merge pull request #952 from me-mariosteve/dev
Browse files Browse the repository at this point in the history
Add open project folder in linux native app
  • Loading branch information
outercloudstudio authored Oct 9, 2023
2 parents fe0280c + cf82b93 commit 9bb2850
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src-tauri/src/fs_extra.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,10 @@ pub async fn reveal_in_file_explorer(path: &str) -> Result<(), String> {
.spawn()
.expect("Failed to open finder");
} else {
// TODO: Linux
Command::new("xdg-open")
.args([path])
.spawn()
.expect("Failed to open file explorer");
}

Ok(())
Expand Down

0 comments on commit 9bb2850

Please sign in to comment.