(&self)
| 201 | } |
| 202 | |
| 203 | fn get_platform_label(&self) -> &str { |
| 204 | let os = self.get_os(); |
| 205 | let arch = self.get_arch(); |
| 206 | if WINDOWS.is(os) { |
| 207 | if X32.is(arch) { |
| 208 | "win32-ia32" |
| 209 | } else if ARM64.is(arch) { |
| 210 | "win32-arm64-x64" |
| 211 | } else { |
| 212 | "win32-x64" |
| 213 | } |
| 214 | } else if MACOS.is(os) { |
| 215 | if ARM64.is(arch) { |
| 216 | "mas-arm64" |
| 217 | } else { |
| 218 | "mas-x64" |
| 219 | } |
| 220 | } else if ARM64.is(arch) { |
| 221 | "linux-arm64" |
| 222 | } else { |
| 223 | "linux-x64" |
| 224 | } |
| 225 | } |
| 226 | |
| 227 | fn request_latest_browser_version_from_online( |
| 228 | &mut self, |
no test coverage detected