Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion editgraph
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
#!/bin/bash

which open
if [ $? == 0 ]
then
open -a 'Google Chrome' https://controlcore-project.github.io/concore-editor/
if [[ "$OSTYPE" =~ ^darwin ]]; then
open -a 'Google Chrome' https://controlcore-project.github.io/concore-editor/
elif [[ "$OSTYPE" =~ ^linux ]]; then
xdg-open https://controlcore-project.github.io/concore-editor/
fi
else
which xdg-open
if [ $? == 0 ]
Expand Down