uebersicht-github-activity/run.sh

10 lines
234 B
Bash
Raw Normal View History

2017-02-11 00:23:33 +00:00
#! /bin/bash
if [ -f /usr/local/bin/node ]; then
# If node is installed via Homebrew, use it
/usr/local/bin/node ./github-activity.widget/src/generate.js
else
# Fallback to normal
node ./github-activity.widget/src/generate.js
fi