Fix linking tools

This commit is contained in:
Shivam Mathur
2026-01-21 03:21:22 +05:30
parent 46cb5030ab
commit 185f9de395
2 changed files with 7 additions and 16 deletions

View File

@@ -158,12 +158,7 @@ Function Add-ToolsHelper() {
} elseif($tool -eq "cs2pr") {
(Get-Content $bin_dir/cs2pr).replace('exit(9)', 'exit(0)') | Set-Content $bin_dir/cs2pr
} elseif($tool -eq "deployer") {
if(Test-Path $composer_bin\deployer.phar.bat) {
Copy-Item $composer_bin\deployer.phar.bat -Destination $composer_bin\dep.bat
}
if(Test-Path $composer_bin\dep.bat) {
Copy-Item $composer_bin\dep.bat -Destination $composer_bin\deployer.bat
}
Copy-Item $bin_dir\deployer.bat -Destination $bin_dir\dep.bat
} elseif($tool -eq "phan") {
$extensions += @('fileinfo', 'ast')
} elseif($tool -eq "phinx") {