Fix tool resolution for packaged .app bundle

.app bundles launch with minimal PATH (/usr/bin:/bin only), missing
Homebrew paths. ExternalTools.resolve() searches:
- /usr/local/bin (Homebrew Intel)
- /opt/homebrew/bin (Homebrew Apple Silicon)
- ~/.local/bin (pipx installs)

Updated: exiftool (ConnectScreen + Copier), adb (AndroidConnector).
This fixes 'exiftool not installed' warning when launching as .app.
This commit is contained in:
Kyle Bolen
2026-08-02 18:12:53 +00:00
parent 207f55d263
commit b416e528b0
5 changed files with 70 additions and 5 deletions

View File

@@ -39,9 +39,16 @@ fi
NOTES=$(cat "$NOTES_FILE")
echo "→ Release notes: $NOTES_FILE"
# ── Gitea token ───────────────────────────────────────────────────────────────
# ── Gitea token — from macOS Keychain, env var, or prompt ────────────────────
if [ -z "${GITEA_TOKEN:-}" ]; then
read -rsp "GITEA_TOKEN not set. Enter token: " GITEA_TOKEN
# Try macOS Keychain first
GITEA_TOKEN=$(security find-generic-password -a kbolen -s gitea-photophetch -w 2>/dev/null || echo "")
fi
if [ -z "${GITEA_TOKEN:-}" ]; then
echo "No token found in Keychain or environment."
echo "Store it once with:"
echo " security add-generic-password -a kbolen -s gitea-photophetch -w YOUR_TOKEN"
read -rsp "Or enter token now: " GITEA_TOKEN
echo
fi