fixed generated windows proxy file for *.exe

main
Mateusz Heleniak 12 years ago
parent 41c13f0c5f
commit 4e638009ab

@ -250,7 +250,7 @@ class LibraryInstaller implements InstallerInterface
protected function generateWindowsProxyCode($bin, $link)
{
$binPath = $this->filesystem->findShortestPath($link, $bin);
if ('.bat' === substr($bin, -4)) {
if ('.bat' === substr($bin, -4) || '.exe' === substr($bin, -4)) {
$caller = 'call';
} else {
$handle = fopen($bin, 'r');

Loading…
Cancel
Save