Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix finding location of wakatime-cli on Windows #117

Merged
merged 3 commits into from
Dec 25, 2021

Conversation

moeshin
Copy link
Contributor

@moeshin moeshin commented Dec 25, 2021

Close #116

Homebrew
macOS Intel: /usr/local/bin
macOS ARM: /opt/homebrew/bin
Linux: /home/linuxbrew/.linuxbrew/bin
   or: ~/.linuxbrew/bin
@@ -126,13 +126,13 @@ let s:VERSION = '9.0.1'
let path = path . '.exe'
endif

" Check for wakatime-cli installed via Homebrew
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We still need this for Mac users.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If the user config is correct, there should be no problem.
If we are worried about failure, we should set these paths:

Homebrew
macOS Intel: /usr/local/bin
macOS ARM: /opt/homebrew/bin
Linux: /home/linuxbrew/.linuxbrew/bin
or: ~/.linuxbrew/bin

@alanhamlett alanhamlett merged commit db4e7d6 into wakatime:master Dec 25, 2021
@alanhamlett
Copy link
Member

Thank you!

@alanhamlett alanhamlett changed the title Fix no found bin and install cli on Windows Fix finding location of wakatime-cli on Windows Nov 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Slow startup
2 participants