diff --git a/src-tauri/src/browser.rs b/src-tauri/src/browser.rs index ddaa333..9b0e39b 100644 --- a/src-tauri/src/browser.rs +++ b/src-tauri/src/browser.rs @@ -256,7 +256,7 @@ mod linux { // - Firefox/Firefox Developer on Linux often extract to: install_dir/firefox/firefox // - Some archives may extract directly under: install_dir/firefox or install_dir/firefox-bin // - For some flavors we may have: install_dir// - let browser_subdir = install_dir.join(browser_type.as_str()); + let _browser_subdir = install_dir.join(browser_type.as_str()); // Try common firefox executable locations (nested and flat) let possible_executables = match browser_type { @@ -322,7 +322,7 @@ mod linux { // install_dir// // However, Firefox Developer tarballs often extract to a "firefox" subfolder // rather than "firefox-developer". Support both layouts. - let browser_subdir = install_dir.join(browser_type.as_str()); + let _browser_subdir = install_dir.join(browser_type.as_str()); let possible_executables = match browser_type { BrowserType::Camoufox => { diff --git a/src-tauri/src/extraction.rs b/src-tauri/src/extraction.rs index c0d432e..48ad7f1 100644 --- a/src-tauri/src/extraction.rs +++ b/src-tauri/src/extraction.rs @@ -6,7 +6,7 @@ use crate::browser::BrowserType; use crate::downloader::DownloadProgress; use crate::events; -#[cfg(any(target_os = "macos", target_os = "windows"))] +#[cfg(target_os = "macos")] use std::process::Command; #[cfg(target_os = "macos")]