Open in a browser
This commit is contained in:
parent
60e24314a2
commit
9fad9e604f
|
@ -304,7 +304,13 @@ if [ $existing_zeronet -lt "2" ]; then
|
||||||
python zeronet.py &
|
python zeronet.py &
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if which xdg-open > /dev/null; then
|
if which firefox > /dev/null; then
|
||||||
|
firefox $ZERONET_INDEX
|
||||||
|
elif which chrome > /dev/null; then
|
||||||
|
chrome $ZERONET_INDEX
|
||||||
|
elif which chromium > /dev/null; then
|
||||||
|
chromium $ZERONET_INDEX
|
||||||
|
elif which xdg-open > /dev/null; then
|
||||||
xdg-open $ZERONET_INDEX
|
xdg-open $ZERONET_INDEX
|
||||||
elif which gnome-open > /dev/null; then
|
elif which gnome-open > /dev/null; then
|
||||||
gnome-open $ZERONET_INDEX
|
gnome-open $ZERONET_INDEX
|
||||||
|
|
Loading…
Reference in New Issue