Can't run on macOS Sierra
montogeek opened this issue · 5 comments
montogeek commented
I can't run the program on macOS Sierra:
Steps I followed:
- Download darwin distribution from https://github.com/sourcegraph/thyme/releases/tag/0.2
- Set run permissions
CHMOD +x thyme-darwin-368
./thyme-darwin-368 dep
xcode-select --install
- Enable Accessibility permissions
But still I get the same error message:
👉 ./thyme-darwin-386 dep
You will need the osascript command-line utility. You can install it via the Apple developer tools ('xcode-select --install') or npm ('npm install --save osascript').
You will need to enable privileges for "Terminal" in System Preferences > Security & Privacy > Privacy > Accessibility.
See https://support.apple.com/en-us/HT202802 for details.
What else I am missing?
rowanoulton commented
@montogeek have you tried to run thyme track
? I got the same output from thyme dep
even after I'd made the changes it required, and my tracking works.
montogeek commented
@rowanoulton Track works, showing a JSON
rowanoulton commented
@montogeek See also here. Looks like thyme dep
simply lists dependencies, so you should be good to go!
montogeek commented
@rowanoulton Not yet ./thyme-darwin-386 track -o thyme.json
just start and get killed inmediately
montogeek commented
When I saw the binary distributable I thought it will run the watch internally, this works:
while true; do ./thyme-darwin-386 track -o thyme.json; sleep 30s; done;
Thanks