(&self)
| 393 | } |
| 394 | |
| 395 | fn get_platform_label(&self) -> &str { |
| 396 | let os = self.get_os(); |
| 397 | let arch = self.get_arch(); |
| 398 | if WINDOWS.is(os) { |
| 399 | if X32.is(arch) { |
| 400 | "win32" |
| 401 | } else if ARM64.is(arch) { |
| 402 | "win-arm64" |
| 403 | } else { |
| 404 | "win64" |
| 405 | } |
| 406 | } else if MACOS.is(os) { |
| 407 | if ARM64.is(arch) { "mac-arm64" } else { "mac64" } |
| 408 | } else if X32.is(arch) { |
| 409 | "linux32" |
| 410 | } else if ARM64.is(arch) { |
| 411 | "linux-arm64" |
| 412 | } else { |
| 413 | "linux64" |
| 414 | } |
| 415 | } |
| 416 | |
| 417 | fn request_latest_browser_version_from_online( |
| 418 | &mut self, |
no test coverage detected