Skip to content
Snippets Groups Projects
Commit 9fad9e60 authored by Bob Mottram's avatar Bob Mottram
Browse files

Open in a browser

parent 60e24314
No related branches found
No related tags found
No related merge requests found
......@@ -304,7 +304,13 @@ if [ $existing_zeronet -lt "2" ]; then
python zeronet.py &
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
elif which gnome-open > /dev/null; then
gnome-open $ZERONET_INDEX
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment