Skip to content

Commit

Permalink
🐛 fix bugs about node.js path
Browse files Browse the repository at this point in the history
  • Loading branch information
WeiChiaChang committed Aug 2, 2017
1 parent 41ea52f commit 5016b15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion show.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# 找到相對應的目錄
cd $HOME/Desktop/what-to-eat
# 執行 main.js 取得隨機店家,並 assign 給 lunch
lunch=`node main.js`
lunch=`/usr/local/bin/node main.js`
# 跑 Mac 內建的 script,製造推播推知
osascript -e "display notification \"$lunch\" with title \"今天午餐吃什麼 ?\""
# 我叫 Mac 唸給妳聽!
Expand Down

0 comments on commit 5016b15

Please sign in to comment.