fix(launchDoctor): add sudo to install missing packages hint (#3402)

This commit is contained in:
Joel Einbinder 2020-08-12 08:48:35 -07:00 committed by GitHub
parent c035560389
commit 1ef199f512
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -138,7 +138,7 @@ async function validateDependenciesLinux(browserPath: string, browser: BrowserDe
if (missingPackages.size) {
missingPackagesMessage = [
` Install missing packages with:`,
` apt-get install ${[...missingPackages].join('\\\n ')}`,
` sudo apt-get install ${[...missingPackages].join('\\\n ')}`,
``,
``,
].join('\n');