-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Installing chrome deps after downloading binary #1584
base: master
Are you sure you want to change the base?
Conversation
const type = cp.execSync("awk -F= '/^ID=/ {print $2}' /etc/os-release | tr -d '\"'").toString().trim() | ||
if(type == 'ubuntu' || type == 'debian' || type == 'fedora') { | ||
const directory = path.resolve(url.fileURLToPath(import.meta.url), `./dependency.sh`) | ||
cp.execSync(`${directory} ${exec}`, { stdio: 'inherit' }) |
Check failure
Code scanning / Semgrep OSS
Semgrep Finding: javascript.lang.security.detect-child-process.detect-child-process Error
} else if(type == 'alpine'){ | ||
const directory = path.resolve(url.fileURLToPath(import.meta.url), `../dependency_alpine.sh`) | ||
cp.execSync(`apk add sudo bash`, { stdio: 'inherit' }) | ||
cp.execSync(`bash ${directory} ${exec}`, { stdio: 'inherit' }) |
Check failure
Code scanning / Semgrep OSS
Semgrep Finding: javascript.lang.security.detect-child-process.detect-child-process Error
This PR is stale because it has been open for more than 14 days with no activity. Remove stale label or comment or this will be closed in 14 days. |
This PR is stale because it has been open for more than 14 days with no activity. Remove stale label or comment or this will be closed in 14 days. |
No description provided.