Brew runs inside a Process with no terminal attached, so any sudo prompt (cask upgrades, some installers) would hang or fail silently — there was nowhere to type the password. Set SUDO_ASKPASS to a small helper script written to Application Support at launch. When sudo detects no tty, it runs the helper, which shows a native macOS password dialog via osascript and prints the answer for sudo to consume. Cancelling the dialog makes sudo fail cleanly instead of hanging. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> |
||
|---|---|---|
| .claude/skills | ||
| asset | ||
| BrewBar | ||
| BrewBar.xcodeproj | ||
| BrewBarTests | ||
| .gitignore | ||
| .swiftlint.yml | ||
| LICENSE | ||
| README.md | ||