diff --git a/res/install_local_mac b/res/install_local_mac deleted file mode 100755 index cf72e3a8..00000000 --- a/res/install_local_mac +++ /dev/null @@ -1,41 +0,0 @@ -#!/bin/bash -# Use this script to install the library directy from the git clone. - - -if [[ -d /Applications/Arduino.app ]] -then - - # Define locations - - lib_path=/Applications/Arduino.app/Contents/Resources/Java/libraries/MIDI - - if [[ -d $lib_path ]] - then - # Remove old lib - rm -rf $lib_path - fi - - # Create folder - mkdir $lib_path - - # Copy sources - cp ../src/MIDI.cpp $lib_path - cp ../src/MIDI.h $lib_path - cp ../src/midi_* $lib_path - - # Copy resources - cp ../res/keywords.txt $lib_path - - # Copy examples - mkdir $lib_path/examples - - cp -r examples/* $lib_path/examples - - # Copy doc - mkdir $lib_path/doc - - cp -r ../doc/* $lib_path/doc - -else - echo "Arduino application not found." -fi diff --git a/res/install_mac b/res/install_mac deleted file mode 100755 index b94a6103..00000000 --- a/res/install_mac +++ /dev/null @@ -1,37 +0,0 @@ -#!/bin/bash -# This script installs the Arduino MIDI Library into the Arduino application, -# so that every sketch can include it directly, without having to copy anything. -# -# To install the library, run this script by double-clicking it, -# it should be directly executable and seen as such by Mac OS X. -# If not, open a terminal, cd to the script location, and run ./install_mac -# -# Open the Arduino IDE, and you're ready to go! - -# The script assumes the Arduino application -# is installed in the default location. - -if [[ -d /Applications/Arduino.app ]] -then - - # Define locations - lib_path=/Applications/Arduino.app/Contents/Resources/Java/libraries/MIDI - - if [[ -d $lib_path ]] - then - # Remove old lib - rm -rf $lib_path - fi - - # Create folder - mkdir $lib_path - - # Install contents - cp -r * $lib_path - - # Cleanup - rm $lib_path/install_mac - -else - echo "Arduino application not found." -fi