bmunoz89 / alfred-wf-bluetooth-manager

Connect and disconnect a bluetooth device easily

Home Page:https://www.alfredforum.com/topic/13493-bluetooth-manager-connect-and-disconnect-a-bluetooth-device-easily/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

disaac opened this issue · comments

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.

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

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