mirror of
https://github.com/zhom/donutbrowser.git
synced 2026-07-07 21:48:03 +02:00
refactor: check for camoufox inside install dir directly
This commit is contained in:
@@ -45,6 +45,12 @@ impl Extractor {
|
||||
return Ok(());
|
||||
};
|
||||
|
||||
// For Camoufox on Linux, we expect the executable directly under version directory
|
||||
// e.g., binaries/camoufox/<version>/camoufox, without an extra camoufox/ subdirectory
|
||||
if browser_type == "camoufox" {
|
||||
return Ok(());
|
||||
}
|
||||
|
||||
let expected_subdir = dest_dir.join(browser_type);
|
||||
|
||||
// If the executable is not in the expected subdirectory, create the structure
|
||||
|
||||
Reference in New Issue
Block a user