(&self)
| 263 | } |
| 264 | |
| 265 | fn get_platform_label(&self) -> &str { |
| 266 | let os = self.get_os(); |
| 267 | let arch = self.get_arch(); |
| 268 | if WINDOWS.is(os) { |
| 269 | if X32.is(arch) { |
| 270 | "win32-ia32" |
| 271 | } else if ARM64.is(arch) { |
| 272 | "win32-arm64-x64" |
| 273 | } else { |
| 274 | "win32-x64" |
| 275 | } |
| 276 | } else if MACOS.is(os) { |
| 277 | if ARM64.is(arch) { |
| 278 | "mas-arm64" |
| 279 | } else { |
| 280 | "mas-x64" |
| 281 | } |
| 282 | } else if ARM64.is(arch) { |
| 283 | "linux-arm64" |
| 284 | } else { |
| 285 | "linux-x64" |
| 286 | } |
| 287 | } |
| 288 | |
| 289 | fn request_latest_browser_version_from_online( |
| 290 | &mut self, |
no test coverage detected