Skip to content

Commit 986e366

Browse files
committed
fix audio opener
1 parent e9ce3c1 commit 986e366

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

plugins/misc/src/commands.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,10 +68,7 @@ pub async fn audio_open<R: tauri::Runtime>(
6868
let session_dir = data_dir.join(session_id);
6969

7070
app.opener()
71-
.reveal_items_in_dir(vec![
72-
session_dir.join("audio.wav"),
73-
session_dir.join("audio.ogg"),
74-
])
71+
.open_path(session_dir.to_string_lossy(), None::<&str>)
7572
.map_err(|e| e.to_string())?;
7673

7774
Ok(())

0 commit comments

Comments
 (0)