avanzu / AdminThemeBundle

Admin Theme based on the AdminLTE Template for easy integration into symfony
MIT License
281 stars 149 forks source link

Find bower installation dir dynamically #231

Closed craph closed 6 years ago

craph commented 6 years ago

It would be very helpful for users if the path of the bower binary would be find dynamically for each operating system

FEATURE REQUEST:

Component Version
Symfony version 3.x - 4.x
AdminThemeBundle 1.3.5
shakaran commented 6 years ago

I don't know any way to detect a binary path from PHP in bower, if it is not in PATH or normal binary path. Anyways, it don't should be a thing that a bundle should do, it assumes that you have bower installed and configure to your right path. I just add a small detection for check if WIN or others. This will be done and merge only in 2.x (aka master), not in 1.3.5 version. Anyways, if you have better proposal you always could make a PR