Skip to content

Commit

Permalink
fix: show folder error in linux
Browse files Browse the repository at this point in the history
  • Loading branch information
pkptzx authored and orangelckc committed Mar 31, 2023
1 parent fefbca7 commit d34dbc7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src-tauri/src/commands.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ pub async fn show_in_folder(path: String) {
"--type=method_call",
"/org/freedesktop/FileManager1",
"org.freedesktop.FileManager1.ShowItems",
format!("array:string:\"file://{path}\"").as_str(),
format!("array:string:file://{path}").as_str(),
"string:\"\"",
])
.spawn()
Expand Down

0 comments on commit d34dbc7

Please sign in to comment.