Skip to content

Instantly share code, notes, and snippets.

@microtherion
Created July 5, 2013 04:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save microtherion/5931619 to your computer and use it in GitHub Desktop.
Save microtherion/5931619 to your computer and use it in GitHub Desktop.
#!/bin/sh -x
#
# Usage: Arduino-Crosspack /Applications/Arduino.app
#
AVR="$1/Contents/Resources/Java/hardware/tools/avr"
sudo rm -rf "$AVR"
sudo ln -s /usr/local/CrossPack-AVR "$AVR"
sudo codesign -fs - "$1"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment