Skip to content

Commit 4e708b0

Browse files
authored
Add changes proposed by @shivangvijay
1 parent 01a426e commit 4e708b0

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

editgraph

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,11 @@
22
which open
33
if [ $? == 0 ]
44
then
5-
open -a 'Google Chrome' https://controlcore-project.github.io/concore-editor/
5+
if [[ "$OSTYPE" =~ ^darwin ]]; then
6+
open -a 'Google Chrome' https://controlcore-project.github.io/concore-editor/
7+
elif [[ "$OSTYPE" =~ ^linux ]]; then
8+
xdg-open https://controlcore-project.github.io/concore-editor/
9+
fi
610
else
711
which xdg-open
812
if [ $? == 0 ]

0 commit comments

Comments
 (0)