Skip to content

Commit cecd75b

Browse files
authored
Merge pull request #29 from ControlCore-Project/main
Merging back to dev
2 parents 8ac7fb0 + c141bba commit cecd75b

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

editgraph

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,13 @@
11
#!/bin/bash
2+
23
which open
34
if [ $? == 0 ]
45
then
5-
open -a 'Google Chrome' https://controlcore-project.github.io/concore-editor/
6+
if [[ "$OSTYPE" =~ ^darwin ]]; then
7+
open -a 'Google Chrome' https://controlcore-project.github.io/concore-editor/
8+
elif [[ "$OSTYPE" =~ ^linux ]]; then
9+
xdg-open https://controlcore-project.github.io/concore-editor/
10+
fi
611
else
712
which xdg-open
813
if [ $? == 0 ]

0 commit comments

Comments
 (0)