final fix
This commit is contained in:
parent
37260d7cf5
commit
91bb6c5d43
@ -48,10 +48,12 @@ pub fn open(url: &str) {
|
||||
|
||||
#[cfg(target_os="macos")]
|
||||
pub fn open(url: &str) {
|
||||
use std;
|
||||
let _ = std::process::Command::new("open").arg(url).output();
|
||||
}
|
||||
|
||||
#[cfg(target_os="linux")]
|
||||
pub fn open(url: &str) {
|
||||
use std;
|
||||
let _ = std::process::Command::new("xdg-open").arg(url).output();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user