Add support for vapor-cli and infection tools

This commit is contained in:
Shivam Mathur
2020-05-07 02:53:42 +05:30
parent cf0fdf35f2
commit f5863fd356
4 changed files with 24 additions and 5 deletions

View File

@ -159,8 +159,6 @@ Function Add-Tool() {
} catch { }
}
if($tool -eq "phive") {
Add-Extension curl >$null 2>&1
Add-Extension mbstring >$null 2>&1
Add-Extension xml >$null 2>&1
} elseif($tool -eq "cs2pr") {
(Get-Content $php_dir/cs2pr).replace('exit(9)', 'exit(0)') | Set-Content $php_dir/cs2pr