pull/2103/head
FabianLars 6 months ago
parent 2c00f7ddad
commit 7d9dfaeb9e
No known key found for this signature in database

@ -221,7 +221,7 @@ impl OpenScope {
#[cfg(target_os = "linux")] #[cfg(target_os = "linux")]
None => { None => {
// ref https://github.com/tauri-apps/tauri/issues/10617 // ref https://github.com/tauri-apps/tauri/issues/10617
::open::with_detached(&path, "/usr/bin/xdg-open") ::open::with_detached(path, "/usr/bin/xdg-open")
.or_else(|_| ::open::that_detached(path)) .or_else(|_| ::open::that_detached(path))
} }
#[cfg(not(target_os = "linux"))] #[cfg(not(target_os = "linux"))]

Loading…
Cancel
Save