We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8ac7fb0 + c141bba commit cecd75bCopy full SHA for cecd75b
1 file changed
editgraph
@@ -1,8 +1,13 @@
1
#!/bin/bash
2
+
3
which open
4
if [ $? == 0 ]
5
then
- 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
11
else
12
which xdg-open
13
0 commit comments