diff options
author | daid <daid303@gmail.com> | 2014-10-30 18:53:16 +0300 |
---|---|---|
committer | Youness Alaoui <kakaroto@kakaroto.homelinux.net> | 2015-01-14 20:11:51 +0300 |
commit | f0a1a8a040c2c7cf79fd668bc61901c97efd8f27 (patch) | |
tree | 65a3d4f1c55f6d5c53f7ed23fedc7ded1144067a /package.sh | |
parent | eceb5d50a7b706f17f6505ee552e806fe5c167a4 (diff) |
Find arduino path for macos.
Diffstat (limited to 'package.sh')
-rwxr-xr-x | package.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/package.sh b/package.sh index b3473d1a2c..e0787f08e8 100755 --- a/package.sh +++ b/package.sh @@ -134,6 +134,9 @@ fi if [ -d "C:/arduino-1.0.3" ]; then ARDUINO_PATH=C:/arduino-1.0.3 ARDUINO_VERSION=103 +elif [ -d "/Applications/Arduino.app/Contents/Resources/Java" ]; then + ARDUINO_PATH=/Applications/Arduino.app/Contents/Resources/Java + ARDUINO_VERSION=105 else ARDUINO_PATH=/usr/share/arduino ARDUINO_VERSION=105 |