Commit a9a1afa4 authored by Philipp Nowinski's avatar Philipp Nowinski
Browse files

[FEATURE] enable execution of node scripts as sgc commands

parent 4fdb52fa
......@@ -24,6 +24,8 @@ elif [ -e "sgc-core/modules/$1.sh" ]; then
./sgc-core/modules/$1.sh
elif [ -e "./sgc-scripts/$1.sh" ]; then
./sgc-scripts/$1.sh
elif [ -e "./sgc-core/core/modules/$1.js" ]; then
node ./sgc-core/core/modules/$1.js $@
else
cd sgc-core
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment