bmunoz89 / alfred-wf-bluetooth-manager

Connect and disconnect a bluetooth device easily
https://www.alfredforum.com/topic/13493-bluetooth-manager-connect-and-disconnect-a-bluetooth-device-easily/
MIT License
62 stars 0 forks source link

blueutil in bluetooth.py hardcoded to /usr/local/bin #10

Closed disaac closed 3 years ago

disaac commented 3 years ago

Currently on version 2.0.0 the blueutil is hardcoded to /usr/local/bin/blueutil.

blueutil is directed to be installed with brew however my brew installation does not use the default /usr/local/bin install location. Since this is an option with brew the path should try and be obtained from the environment or by requesting it from brew with $(brew --prefix)/bin/blueutil. Though not sure how from within the python script to obtain the brew executable path so I just hardcoded my specific location in the script.

bmunoz89 commented 3 years ago

@disaac I'll check how to implement that, thanks 😉

bmunoz89 commented 3 years ago

@disaac It would be great if you can check the fix 😁