(family: LinuxDistroFamily)
| 185 | * distro family, or a generic pointer for unknown families. |
| 186 | */ |
| 187 | export function chromeDepsInstallCommand(family: LinuxDistroFamily): string { |
| 188 | if (family === "unknown") { |
| 189 | return "Install the Chrome headless dependencies for your distro (nss, atk, at-spi2, cups, libdrm, libxkbcommon, gbm, pango, cairo, alsa), then re-run."; |
| 190 | } |
| 191 | return `${INSTALL_PREFIX[family]} ${DISTRO_PACKAGES[family].join(" ")}`; |
| 192 | } |
| 193 | |
| 194 | /** |
| 195 | * Per-distro ffmpeg install command (ffprobe ships in the same `ffmpeg` package |
no outgoing calls
no test coverage detected