chore: fix clippy on windows build

This commit is contained in:
zhom
2025-05-30 01:45:05 +04:00
parent a67803dbc8
commit 885c6a1446
2 changed files with 5 additions and 1 deletions
+3 -1
View File
@@ -33,9 +33,11 @@ lazy_static = "1.4"
base64 = "0.22"
zip = "4"
async-trait = "0.1"
core-foundation="0.10"
futures-util = "0.3"
[target.'cfg(target_os = "macos")'.dependencies]
core-foundation="0.10"
[dev-dependencies]
tempfile = "3.13.0"
tokio-test = "0.4.4"
+2
View File
@@ -83,6 +83,7 @@ impl BrowserRunner {
}
// Helper function to validate PID for TOR/Mullvad browsers
// TODO: make available for other platforms once other functionality is implemented
#[cfg(target_os = "macos")]
fn validate_tor_mullvad_pid(&self, profile: &BrowserProfile, pid: u32) -> bool {
let system = System::new_all();
@@ -135,6 +136,7 @@ impl BrowserRunner {
false
}
}
pub fn get_binaries_dir(&self) -> PathBuf {
let mut path = self.base_dirs.data_local_dir().to_path_buf();
path.push(if cfg!(debug_assertions) {