mirror of
https://github.com/GyulyVGC/sniffnet.git
synced 2026-10-21 22:51:26 +00:00
substituted command with on Linux systems
This commit is contained in:
parent
9637cf8859
commit
376eef4ba8
1 changed files with 2 additions and 2 deletions
|
|
@ -96,7 +96,7 @@ impl Application for Sniffer {
|
|||
.spawn()
|
||||
.unwrap();
|
||||
#[cfg(target_os = "linux")]
|
||||
std::process::Command::new("open")
|
||||
std::process::Command::new("xdg-open")
|
||||
.arg("./sniffnet_report/report.txt")
|
||||
.spawn()
|
||||
.unwrap();
|
||||
|
|
@ -113,7 +113,7 @@ impl Application for Sniffer {
|
|||
.spawn()
|
||||
.unwrap();
|
||||
#[cfg(target_os = "linux")]
|
||||
std::process::Command::new("open")
|
||||
std::process::Command::new("xdg-open")
|
||||
.arg("https://github.com/GyulyVGC/sniffnet")
|
||||
.spawn()
|
||||
.unwrap();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue