sourcegraph / thyme

Automatically track which applications you use and for how long.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can't run on macOS Sierra

montogeek opened this issue · comments

I can't run the program on macOS Sierra:

Steps I followed:

  1. Download darwin distribution from https://github.com/sourcegraph/thyme/releases/tag/0.2
  2. Set run permissions CHMOD +x thyme-darwin-368
  3. ./thyme-darwin-368 dep
  4. xcode-select --install
  5. 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.

screen shot 2016-08-18 at 10 56 22
screen shot 2016-08-18 at 10 56 09

What else I am missing?

@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.

@rowanoulton Track works, showing a JSON

@montogeek See also here. Looks like thyme dep simply lists dependencies, so you should be good to go!

@rowanoulton Not yet ./thyme-darwin-386 track -o thyme.json just start and get killed inmediately

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