Merge pull request #478 from amiaopensource/opt_homebrew

add path for newer Machintoshes
This commit is contained in:
Ashley Blewer 2025-04-01 18:41:57 -04:00 committed by GitHub
commit f57e2d443a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -6,8 +6,10 @@
if [[ "$(uname -s)" = "Darwin" ]] ; then
if ping -c 1 amiaopensource.github.io >/dev/null 2>&1 ; then
ffmprovisr_path='https://amiaopensource.github.io/ffmprovisr/'
elif [[ -d /usr/local/Cellar/ffmprovisr ]] ; then
ffmprovisr_path=$(find /usr/local/Cellar/ffmprovisr -name 'index.html' | sort -M | tail -n1)
else
ffmprovisr_path=$(find /usr/local/Cellar/ffmprovisr -iname 'index.html' | sort -M | tail -n1)
ffmprovisr_path=$(find /opt/homebrew/Cellar/ffmprovisr -name 'index.html' | sort -M | tail -n1)
fi
open "${ffmprovisr_path}"
elif [[ "$(uname -s)" = "Linux" ]] ; then