Commit 0d27ffa 1 parent bf93a20 commit 0d27ffa Copy full SHA for 0d27ffa
File tree 1 file changed +1
-6
lines changed
1 file changed +1
-6
lines changed Original file line number Diff line number Diff line change 4
4
# connected to the Web, and the local version otherwise.
5
5
6
6
if [[ " $( 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)
8
7
if ping -c 1 amiaopensource.github.io > /dev/null 2>&1 ; then
9
8
ffmprovisr_path=' https://amiaopensource.github.io/ffmprovisr/'
10
9
else
11
10
ffmprovisr_path=$( find /usr/local/Cellar/ffmprovisr -iname ' index.html' | sort -M | tail -n1)
12
11
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} "
18
13
elif [[ " $( uname -s) " = " Linux" ]] ; then
19
14
if ping -c 1 amiaopensource.github.io > /dev/null 2>&1 ; then
20
15
ffmprovisr_path=' https://amiaopensource.github.io/ffmprovisr/'
You can’t perform that action at this time.
0 commit comments