Skip to content

Commit 2a6d6b1

Browse files
committed
fix: extra / is path when show in os files is done
1 parent 9fb59ba commit 2a6d6b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src-tauri/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ fn show_in_folder(path: String) {
173173
.arg("--type=method_call")
174174
.arg("/org/freedesktop/FileManager1")
175175
.arg("org.freedesktop.FileManager1.ShowItems")
176-
.arg(format!("array:string:file:///{}", path))
176+
.arg(format!("array:string:file://{}", path))
177177
.arg("string:\"\"")
178178
.spawn()
179179
.unwrap();

0 commit comments

Comments
 (0)