Skip to content

Commit f064eca

Browse files
committed
[rust] Use tax.xz for Firefox package starting in version 135
1 parent 013443d commit f064eca

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

rust/src/firefox.rs

+5-1
Original file line numberDiff line numberDiff line change
@@ -572,7 +572,11 @@ impl SeleniumManager for FirefoxManager {
572572
} else {
573573
// Linux
574574
artifact_name = "firefox-";
575-
artifact_extension = "tar.bz2";
575+
if major_browser_version < 135 {
576+
artifact_extension = "tar.bz2";
577+
} else {
578+
artifact_extension = "tar.xz";
579+
}
576580
if X32.is(arch) {
577581
platform_label = "linux-i686";
578582
} else if self.is_nightly(browser_version) {

0 commit comments

Comments
 (0)