Method
get_platform_label
(&self)
Source from the content-addressed store, hash-verified
| 374 | } |
| 375 | |
| 376 | fn get_platform_label(&self) -> &str { |
| 377 | let os = self.get_os(); |
| 378 | let arch = self.get_arch(); |
| 379 | if WINDOWS.is(os) { |
| 380 | if ARM64.is(arch) { |
| 381 | "win-arm64" |
| 382 | } else if X32.is(arch) { |
| 383 | "win32" |
| 384 | } else { |
| 385 | "win64" |
| 386 | } |
| 387 | } else if MACOS.is(os) { |
| 388 | if ARM64.is(arch) { "mac-arm64" } else { "mac64" } |
| 389 | } else { |
| 390 | "linux64" |
| 391 | } |
| 392 | } |
| 393 | |
| 394 | fn request_latest_browser_version_from_online( |
| 395 | &mut self, |