This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/zsh | |
| # --- 1. ENVIRONMENT & TOOLS CHECK --- | |
| # Ensures the script can find Homebrew's FFmpeg and ffprobe binaries. | |
| export PATH="/usr/local/bin:/opt/homebrew/bin:$PATH" | |
| if ! command -v ffmpeg &> /dev/null; then | |
| osascript -e "display alert \"FFmpeg Not Found\" message \"Please install FFmpeg via Homebrew (brew install ffmpeg).\" as critical" | |
| exit 1 | |
| fi |