File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44# connected to the Web, and the local version otherwise.
55
66if [[ " $( uname -s) " = " Darwin" ]] ; then
7- default_browser=$( plutil -convert json ~ /Library/Preferences/com.apple.LaunchServices/com.apple.launchservices.secure.plist -r -o - | grep https -b1 | tail -n1 | cut -d' "' -f4)
87 if ping -c 1 amiaopensource.github.io > /dev/null 2>&1 ; then
98 ffmprovisr_path=' https://amiaopensource.github.io/ffmprovisr/'
109 else
1110 ffmprovisr_path=$( find /usr/local/Cellar/ffmprovisr -iname ' index.html' | sort -M | tail -n1)
1211 fi
13- if [[ -n " ${default_browser} " ]] ; then
14- open -b " ${default_browser} " " ${ffmprovisr_path} "
15- else
16- open " ${ffmprovisr_path} "
17- fi
12+ open " ${ffmprovisr_path} "
1813elif [[ " $( uname -s) " = " Linux" ]] ; then
1914 if ping -c 1 amiaopensource.github.io > /dev/null 2>&1 ; then
2015 ffmprovisr_path=' https://amiaopensource.github.io/ffmprovisr/'
You can’t perform that action at this time.
0 commit comments