Skip to content

Commit fc2cd7f

Browse files
authored
add path on newer Machintoshes
1 parent e46bdc1 commit fc2cd7f

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

scripts/ffmprovisr

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,10 @@
66
if [[ "$(uname -s)" = "Darwin" ]] ; then
77
if ping -c 1 amiaopensource.github.io >/dev/null 2>&1 ; then
88
ffmprovisr_path='https://amiaopensource.github.io/ffmprovisr/'
9+
elif [[ -d /usr/local/Cellar/ffmprovisr ]] ; then
10+
ffmprovisr_path=$(find /usr/local/Cellar/ffmprovisr -name 'index.html' | sort -M | tail -n1)
911
else
10-
ffmprovisr_path=$(find /usr/local/Cellar/ffmprovisr -iname 'index.html' | sort -M | tail -n1)
12+
ffmprovisr_path=$(find /opt/homebrew/Cellar/ffmprovisr -name 'index.html' | sort -M | tail -n1)
1113
fi
1214
open "${ffmprovisr_path}"
1315
elif [[ "$(uname -s)" = "Linux" ]] ; then

0 commit comments

Comments
 (0)