(&self, path: &str)
| 463 | /// Opens a PDF file using the Windows system viewer. |
| 464 | #[cfg(target_os = "windows")] |
| 465 | fn open_pdf_with_system_viewer(&self, path: &str) { |
| 466 | let _ = std::process::Command::new("cmd").args(["/C", "start", "", path]).spawn(); |
| 467 | } |
| 468 | |
| 469 | /// Opens a PDF file using the macOS system viewer. |
| 470 | #[cfg(target_os = "macos")] |