refactor: more robust zip extraction and handle invalid characters

This commit is contained in:
zhom
2025-08-08 10:09:43 +04:00
parent e48b681215
commit e0a1dd5a8a
2 changed files with 341 additions and 33 deletions
+1 -1
View File
@@ -1278,7 +1278,7 @@ impl BrowserRunner {
// For Camoufox on Linux, provide specific expected files
if browser_str == "camoufox" && cfg!(target_os = "linux") {
let camoufox_subdir = browser_dir.join("camoufox");
error_details.push_str(&format!("\nExpected Camoufox executable locations:"));
error_details.push_str("\nExpected Camoufox executable locations:");
error_details.push_str(&format!("\n {}/camoufox-bin", camoufox_subdir.display()));
error_details.push_str(&format!("\n {}/camoufox", camoufox_subdir.display()));