mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-04-27 11:56:05 +02:00
lint
This commit is contained in:
@@ -221,7 +221,7 @@ impl OpenScope {
|
||||
#[cfg(target_os = "linux")]
|
||||
None => {
|
||||
// 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))
|
||||
}
|
||||
#[cfg(not(target_os = "linux"))]
|
||||
|
||||
Reference in New Issue
Block a user