mirror of
https://github.com/amiaopensource/ffmprovisr.git
synced 2025-06-01 09:54:14 +02:00
Merge pull request #478 from amiaopensource/opt_homebrew
add path for newer Machintoshes
This commit is contained in:
commit
f57e2d443a
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user