mirror of
https://github.com/amiaopensource/ffmprovisr.git
synced 2025-06-01 09:54:14 +02:00
add path on newer Machintoshes
This commit is contained in:
parent
e46bdc189a
commit
fc2cd7f23e
@ -6,8 +6,10 @@
|
|||||||
if [[ "$(uname -s)" = "Darwin" ]] ; then
|
if [[ "$(uname -s)" = "Darwin" ]] ; then
|
||||||
if ping -c 1 amiaopensource.github.io >/dev/null 2>&1 ; then
|
if ping -c 1 amiaopensource.github.io >/dev/null 2>&1 ; then
|
||||||
ffmprovisr_path='https://amiaopensource.github.io/ffmprovisr/'
|
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
|
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
|
fi
|
||||||
open "${ffmprovisr_path}"
|
open "${ffmprovisr_path}"
|
||||||
elif [[ "$(uname -s)" = "Linux" ]] ; then
|
elif [[ "$(uname -s)" = "Linux" ]] ; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user