Skip to content

feat(app): install the odhub command from a menu item - #50

Merged
Mastersam07 merged 1 commit into
devfrom
feat/install-command-line-tool
Sep 24, 2026
Merged

Mastersam07 merged 1 commit into
devfrom
feat/install-command-line-tool

Conversation

@Mastersam07

@Mastersam07 Mastersam07 commented Sep 24, 2026 •

Copy link
Copy Markdown
Owner

What: Getting odhub onto the PATH meant pasting an export line into a shell profile. There is now an Install Command Line Tool item in the app menu, which retitles itself to Remove or Repair from what is on disk. It links odhub into a directory already on the PATH, preferring one the person already owns (/opt/homebrew/bin, ~/.local/bin, ~/bin) over /usr/local/bin, so on a developer Mac with Homebrew it needs no password at all. Where it does need one, our own dialog explains why before macOS asks, and offers to copy the command instead. The README follows.

Which directories are on the PATH comes from the login shell, not this process: an app started by launchd has a minimal PATH that says nothing about where a person keeps their tools.

Pasting an export line into a shell profile was the lazy answer. This links odhub into a directory already on the PATH, preferring one the person owns so most machines need no password.
@Mastersam07
Mastersam07 merged commit 63400b8 into dev Sep 24, 2026
2 checks passed
@Mastersam07
Mastersam07 deleted the feat/install-command-line-tool branch September 24, 2026 04:32
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.

1 participant